Name

mailitem.SaveAs(Path, Type)

Synopsis

Saves the email in the location specified by Path as the filetype specified in Type.

Argument

Settings

Path

The filename and path for the saved email.

Type

The format to use for the file. Can be one of the these olSaveAsType constants: olHTML, olMSG, olRTF, olTemplate, olDoc, olTXT, olVCal, olVCard, olICal, or olMSGUnicode.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.