MapiMessage.Save

Save(Stream, SaveOptions)

Saves the message to a stream in the format selected by the options, such as MSG, OFT, EML, EMLX, HTML or MHTML.

public void Save(Stream stream, SaveOptions options)
ParameterTypeDescription
streamStreamThe stream to write to.
optionsSaveOptionsThe options; their class selects the format.

See Also


Save(string)

Saves the message to a file in MSG format.

public void Save(string fileName)
ParameterTypeDescription
fileNameStringThe path of the file to write.

See Also


Save(Stream)

Saves the message to a stream in MSG format.

public void Save(Stream stream)
ParameterTypeDescription
streamStreamThe stream to write to.

See Also


Save(string, SaveOptions)

Saves the message to a file in the format selected by the options, such as MSG, OFT, EML, EMLX, HTML or MHTML.

public void Save(string fileName, SaveOptions options)
ParameterTypeDescription
fileNameStringThe path of the file to write.
optionsSaveOptionsThe options; their class selects the format.

See Also