Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Changing the time zone when converting emails to MHT

$
0
0
We convert emails to MHT files using the following code:

using (MailMessage msg = MailMessage.Load(emailFilePath, messageFormat))
{
    using (MemoryStream mhtStream = new MemoryStream())
    {
        msg.Save(mhtStream, MessageFormat.Mht);
        ...
    }
}

The sent date is rendered using the local system time zone. Our users would like to be able to configure the time zone that is used for the sent date (and any other dates that may be displayed in the MHT).

Is it possible to change the time zone that is used?

Thanks.

Viewing all articles
Browse latest Browse all 1367

Trending Articles