Browse our Products
Aspose.Email for .NET 24.1 Release Notes
This page contains release notes information for Aspose.Email for .NET 24.1
All Changes
Key | Summary | Category |
---|---|---|
EMAILNET-41250 | Replace “.” on “_” in resource folder name while saving message to html with resources. | Enhancement |
EMAILNET-41260 | Error when trying to parse relative recurrence rule from ical file | Bug |
EMAILNET-41262 | Incorrect reading of UTF-7 encoded emails | Bug |
EMAILNET-41248 | Attachment Name and Extension is null | Bug |
EMAILNET-41247 | Wrong MHtml produced from specific MSG file | Bug |
New Enhancements
Fixed Resource Folder Naming Scheme for Email Message HTML Saving
In response to user feedback we have updated the resource folder naming convention. When saving email messages into HTML files with associated resources (e.g. images), the Aspose.Email will now utilize the [html file name]_files scheme instead of the [html file name].files convention. This revised naming scheme ensures better compatibility.
Code sample
var msg = MapiMessage.Load(sourceFileName);
var htmlSaveOptions = new HtmlSaveOptions
{
ResourceRenderingMode = ResourceRenderingMode.SaveToFile,
UseRelativePathToResources = true
};
msg.Save(Path.Combine("target.html"), htmlSaveOptions);
If the HTML file is named “target.html,” the associated resource default folder will be named “target_files.”