Aspose.Email for .NET 16.12.0 (Revamped) Release Notes

This improved version of Aspose.Email for .NET 16.12.0 (revamped) improves the Namespace structure in terms of relevance of the API components. This restructuring exposes a more logical implementation of the API that helps users locate the intended functionality. The restructuring of these namespaces not only provides the logical organization of API functional parts, but also reduces the number of namespaces while providing all the functionality at the same time. Existing customer codes, however, will have to be updated to the improved namespace structure of the API to get benefit from this change.

About New Namespace Structure

Following is the new namespace structure of the improved API.

  • Aspose.Email
  • Aspose.Email.AntiSpam
  • Aspose.Email.Bounce
  • Aspose.Email.Calendar
    • Aspose.Email.Calendar.Recurrences
  • Aspose.Email.Clients
    • Aspose.Email.Clients.ActiveSync
    • Aspose.Email.Clients.Exchange
    • Aspose.Email.Clients.Exchange.Dav
    • Aspose.Email.Clients.Exchange.WebService
    • Aspose.Email.Clients.Google
    • Aspose.Email.Clients.Imap
    • Aspose.Email.Clients.Pop3
    • Aspose.Email.Clients.Smtp
  • Aspose.Email.DKIM
  • Aspose.Email.Mapi
    • Aspose.Email.Mapi.Msg
  • Aspose.Email.Mime
  • Aspose.Email.PersonalInfo
    • Aspose.Email.PersonalInfo.VCard
  • Aspose.Email.Printing
  • Aspose.Email.Storage
    • Aspose.Email.Storage.Mbox
    • Aspose.Email.Storage.Pst
  • Aspose.Email.Tools
    • Aspose.Email.Tools.Logging
    • Aspose.Email.Tools.Verifications
    • Aspose.Email.Tools.Merging
    • Aspose.Email.Tools.Search
  • Aspose.Email.Windows
    • Aspose.Email.Windows.Forms
    • Aspose.Email.Windows.WPF

Functional Details of Namespace Changes

1. Working with Email Clients

Mail clients implementation has been moved to Aspose.Email.Clients in the new implementation of the API.

Old namespaceNew namespace
Aspose.Email.Protocols.ActiveSyncAspose.Email.Clients.ActiveSync
Aspose.Email.Protocols.ProxyAspose.Email.Clients
Aspose.Email.ExchangeAspose.Email.Clients.Exchange
Aspose.Email.Exchange (EWS)Aspose.Email.Clients.Exchange.WebService
Aspose.Email.Protocols.Exchange.ExchangeDavAspose.Email.Clients.Exchange.Dav
Aspose.Email.GoogleAspose.Email.Clients.Google
Aspose.Email.ImapAspose.Email.Clients.Imap
Aspose.Email.OAuthAspose.Email.Clients
Aspose.Email.Pop3Aspose.Email.Clients.Pop3
Aspose.Email.Mail (SmtpAuthentication, SmtpClient, SmtpClientBulkSendAgent, SmtpClientBulkSendEventArgs, SmtpException, SmtpFailedBulkSendException, SmtpFailedRecipientException, SmtpFailedRecipientsException, MailMessageEventArgs, IMailTransferAgent, SendCompletedEventHandler, SmtpDeliveryMethod, SmtpStatusCode)Aspose.Email.Clients.Smtp
Aspose.Email (ICommand, IConnection, IAsyncResulExt, AsyncCommandResults, CompressionType, ConnectionState, PipeliningMode, SecurityOptions, PageInfo, PipeliningStatus, OAuthNetworkCredential)Aspose.Email.Clients

2. Working with MIME Messages

Aspose.Email.Mail was excluded and MailMessage (with auxiliary classes such as Attachment, AlternateView, LinkedResource and others) class has been moved to the root of Aspose.Email.

Old namespaceNew namespace
Aspose.Email.Mail.BounceAspose.Email.Bounce
Aspose.Email.Mail.DKIMAspose.Email.DKIM
Aspose.Email.Mail (MailMessage with auxiliary classes (Attachment, AlternateView, LinkedResource and others)Aspose.Email
Aspose.Email.Mail (Appointment with auxiliary classes)Aspose.Email.Calendar

3. Working with Recurrences

Aspose.Email.Recurrences has been moved to Aspose.Email.Calendar.Recurrences.

4. Working with Outlook Messages and Items

Aspose.Email.Outlook has been renamed to Aspose.Email.Mapi, that also includes Aspose.Email.Formats.Outlook.

Old namespaceNew namespace
Aspose.Email.OutlookAspose.Email.Mapi
Aspose.Email.Formats.OutlookAspose.Email.Mapi
Aspose.Email.Formats.Outlook.MsgAspose.Email.Mapi.Msg

5. Working with Personal (PST) and MBOX Storage Files

New namespace, Aspose.Email.Storage has been created, that includes message storage formats.

Old namespaceNew namespace
Aspose.Email.Formats.MboxAspose.Email.Storage.Mbox
Aspose.Email.Outlook.PstAspose.Email.Storage.Pst
Aspose.Email.Formats (MailStorageConverter)Aspose.Email.Storage
Aspose.Email.Mail (MailboxConverter)Aspose.Email.Storage

6. Utility Classes

New namespace, Aspose.Email.Tools, has been included that also includes auxiliary functionality.

Old namespaceNew namespace
Aspose.Email.LoggingAspose.Email.Tools.Logging
Aspose.Email.VerificationsAspose.Email.Tools.Verifications
Aspose.Email (FileFormatUtil, ForwardMessageBuilder, ReplyMessageBuilder, ResponseMessageBuilder, OriginalMessageAdditionMode)Aspose.Email.Tools
Aspose.Email(ComparisonField, DateComparisonField, IntComparisonField, MailQuery, MailQueryBuilder, QueryField, StringComparisonField)Aspose.Email.Tools.Search
Aspose.Email.Mail(TemplateEngine, TemplateRoutine)Aspose.Email.Tools.Merging

7. Personal Information Namespace

The Aspose.Email.PersonalInfo namespace included in the restructured API contains Contact implementations.

Old namespaceNew namespace
Aspose.Email.Mail(Contact with auxiliary classes)Aspose.Email.PersonalInfo
Aspose.Email.Formats.VCardAspose.Email.PersonalInfo.VCard

Other changes