MailMessage.GetHtmlAndSaveRelatedFiles Method
MailMessageGetHtmlAndSaveRelatedFiles 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
  NameDescription
Public methodCode exampleGetHtmlAndSaveRelatedFiles
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 methodCode exampleGetHtmlAndSaveRelatedFiles(String, VirtualMappingType, MessageFolderBehavior)
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.
Top
See Also