Saves the mail message to the supplied file.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Sub Save ( _
	fileName As String, _
	format As MailFormat _
)
C#
public void Save(
	string fileName,
	MailFormat format
)

Parameters

fileName
Type: System..::..String
Path to the file to save the message to.
format
Type: Rebex.Mail..::..MailFormat
Format of the saved message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also