Add New Attachments to TNEF EML & Read Named MAPI Property from Message Attachments


Well-known member
Mar 10, 2010
Programming Experience
Add New Attachments to TNEF EML & Read Named MAPI Property from Message Attachments

What is new in this release?

We are pleased to announce the release of Aspose.Email for .NET 4.3.0 . Using Aspose.Email developers can already process email messages that contain Transport Neutral Encapsulation Format (TNEF) attachments. Not only can they convert and save such messages to regular email messages, but can process the TNEF attachments and modify their contents while saving them back in the same format. This month?s release further improves the functionality of the Aspose.Email API for adding attachments to such messages that was not supported earlier. With our previous releases, the API allowed you to search for named MAPI properties. This worked for a message store of main message only and didn?t support reading the properties of message attachments. This month?s release now provides the ability to search for named MAPI properties from message attachments as shown in the online article Reading Name MAPI Property from Attachment. This month?s release also contains a number of bug fixes related to different functional areas of Aspose.Email, such as issues related to message conversion, resulting in lost encoding, message drag & drop functionality, POP3 and IMAP clients, TNEF message formats, Large size PST creation, exceptions while loading different mail items such as messages and calendar items and many more. The main bug fixes, new & improved features added in this release are listed below

- The provision of adding new attachments to TNEF eml
- Create common security options for all mail clients on the base class level. Add ability to automatically select of security mode
- Search MapiProperty by Name from MapiMessage
- PR_BODY lost when MSG converted from EML is dragged to Outlook
- Drag Drop application not showing file name is fixed
- Saving a MSG file again as MSG disturbs its contents is now fixed
- MailMessage.Load stuck while loading the attached MSG file is now fixed
- EML->MSG, FROM field replaced by ?????????????? is now resolved
- Unsecured connection fails while connecting to Dovecot Server is now fixed
- Wrong time displayed if MhtMessageFormatter.DateTimeFormat is used
- MSG->MHTML->PDF, long hyperlinks truncated due to page margin
- Extra characters issue is fixed in MailMessage.Body and MapiMessage.Body
- Changing AllowDrop property at runtime is now fully effective
- EML in attachment garbled for TNEF message, when saved with PreserveTnefAttachments flag
- Doc attachment of TNEF message corrupted when saved with PreserveTnefAttachments flag
- Pop3Client: UndeleteMessages doesn't have effect on ListMessages()
- Word to MHTML - Changes now included when sent using Aspose.Email

Other most recent bug fixes are also included in this release.

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Email for .NET documentation that may guide you briefly how to use Aspose.Email for performing different tasks like the followings.

- Working with Messages Containing TNEF attachments
- Reading Named MAPI Properties from Outlook Message (MSG) Files

Overview: Aspose.Email for .NET

Aspose.Email for .NET is a set of components allowing developers to easily implement email functionality within their ASP.NET web applications, web services & Windows applications. It Supports Outlook PST, EML, MSG & MHT formats. It allows developers to work with SMTP, POP, FTP & MS Exchange servers. It supports mail merge, iCalendar, customized header & body, header information, embedded files, Twitter & many more. It makes it easy to work with HTML or plain text emails & their attachments.

More about Aspose.Email for .NET

- Homepage of Aspose.Email for .NET C#
- Download Aspose.Email for .NET
- Online documentation of Aspose.Email for .NET
- Demos of Aspose.Email for .NET

Contact Information

Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465