MailBee.NET Objects 3.1

MailMessage.GetHtmlAndSaveRelatedFiles Method

Extracts the HTML body of the message and saves the attached inline pictures and other related files to disk, replaces their Content-ID's with file paths in the temporary location where they were saved, and returns the modified HTML body as a string.

Overload List

Extracts the HTML body of the message, saves the attached inline pictures and other related files to disk, and return the modified HTML body.

public string GetHtmlAndSaveRelatedFiles();

Prepares the HTML body of the message for displaying in a web application: saves all embedded objects to a temporary location, replaces their Content-ID's with their virtual paths in the temporary location, and returns the modified HTML body as a string.

public string GetHtmlAndSaveRelatedFiles(string,VirtualMappingType,MessageFolderBehavior);

See Also

MailMessage Class | MailBee.Mime Namespace