Utility Features - MailMessage

This page collects two utility features of MailMessage that have articles of their own.

MailMessages Containing TNEF attachments

Transport Neutral Encapsulation Format (TNEF) is the Outlook and Exchange format that packs rich formatting, embedded objects and other Outlook-specific data into a single winmail.dat attachment. Aspose.Email for C++ reads such messages, lets you change their attachments and resources, and saves them either as plain MIME or with the TNEF part preserved. It can also produce a TNEF EML from an Outlook MSG file.

Samples for all of these tasks are in Working with TNEF Attachments.

Check Bounced Messages

A message that could not be delivered comes back as a delivery status notification. MailMessage::CheckBounced recognizes such a notification and returns a BounceResult with the failed recipient, the status code, the reason and the action the server took.

How to check messages, read the details of a failure and handle a whole folder of notifications is described in Detect and Process Bounced Emails.