Name

mailitem.Close(SaveMode)

Synopsis

Closes the mail item.

Argument

Settings

SaveMode

Determines whether the email is saved in the Drafts folder. Can be olDiscard, olPromptForSave, or olSave.

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.