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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.