Dart Home | PowerTCP Mail for .NET | Custom Development | Reply | PowerTCP Mail for .NET Topics | Forums |
Author | Forum: PowerTCP Mail for .NET Topic: Upgrading from Dart.PowerTCP.Mail V3 to V4 |
elmdevs From: Missoula, MT USA Posts: 2 Member Since: 10/14/19 |
posted October 14, 2019 5:38 PM Hello, we've used PowerTCP Mail for .NET for 15 years. We just purchased Version 4 of the library and now need to upgrade from V3. Do you have a migration guide that shows mapping from V3 Dart.PowerTCP.Mail.Pop properties to the new V4 Dart.Mail object model? For example, here is a sample of our setup using V3 object model, pop.Timeout = some_value; pop.AutoGet = MessageSection.None; pop.UseMemoryStreams = true; pop.AutoLogout = false; if (IsSSL) { pop.Security = Security.Implicit; pop.UseAuthentication = false; } I need to configure V4 Dart.Mail.Pop the same way and it is not obvious how to do so. Thanks. |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted October 15, 2019 5:37 PM Hello, For your specific request, I've provided the upgrades for your provided code below: //http://dotnet.dart.com/help/ptmlnet/webframe.html#Dart.Mail~Dart.Mail.SocketOption~ReceiveTimeout.html pop.Connection.SocketOption.ReceiveTimeout = some_value; //There's no longer an equivalent for AutoGet, instead perform pop.Messages[index].Get(0), I'll implement code for you at the end below //http://dotnet.dart.com/help/ptmlnet/webframe.html#Dart.Mail~Dart.Mail.Attachment~DecodeToMemory.html Attachment.DecodeToMemory = true; //There's no longer an AutoLogout property, you must call pop.Close() when finished with operations |
elmdevs From: Missoula, MT USA Posts: 2 Member Since: 10/14/19 |
posted October 16, 2019 1:12 PM Thank you for your reply. This is just what I needed. |
Reply | PowerTCP Mail for .NET Topics | Forums |
This site is powered by
![]() |