Aspose.Email for .NET 21.3 Release Notes
Contents
[
Hide
]
This page contains release notes information for Aspose.Email for .NET 21.3
All Changes
Key | Summary | Category |
---|---|---|
EMAILNET-40117 | Issue while sending Bulk emails | Enhancement |
EMAILNET-40157 | Implementation of FindPeople Method to find all persona objects that match a specified query string | Enhancement |
EMAILNET-40143 | Add LinkedResource.ContentDisposition property | Enhancement |
EMAILNET-40139 | PersonalStorageQueryBuilder.Text property doesn’t work for pst | Enhancement |
EMAILNET-40131 | Improve error handling for ImapClient.StartMonitoring methods | Enhancement |
EMAILNET-40075 | Aspose.Email failed with exception when deployed in UWP Project | Bug |
EMAILNET-40163 | MSG to HTML - Text color is wrong | Bug |
EMAILNET-40129 | Error calculating Yearly Recurrences | Bug |
EMAILNET-40136 | MailMessage.HtmlBodyText returns excess line breaks | Bug |
EMAILNET-40146 | Exception on sending email using GraphClient | Bug |
EMAILNET-40150 | Invalid MailMessage boundaries after Load and Save | Bug |
EMAILNET-40148 | Getting a predefined folder throws ArgumentNullException | Bug |
New Enhancements
Getting information about bulk messages sent
When you send messages in bulk, you can get an information about the number of successfully sent messages and moreover, it is possible to get a list of these messages. A new SucceededSending event was added to SmtpClient for this purpose.
Code sample:
using (SmtpClient client = new SmtpClient(host, SecurityOptions.Auto))
{
int messageCount = 0;
client.SucceededSending += (sender, eventArgs) =>
{
Console.WriteLine("The message '{0}' was successfully sent.", eventArgs.Message.Subject);
messageCount++;
};
client.Send(messages);
Console.WriteLine("{0} messages were successfully sent.", messageCount);
}
LinkedResource.ContentDisposition property
A LinkedResource.ContentDisposition property has been added to get Content-Disposition header.
Code sample:
MailMessage eml = MailMessage.Load(fileName);
eml.LinkedResources[0].ContentDisposition.FileName = "changed.png";