MailMessage.Save Method
Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9083)
Save(Stream)
Saves the mail message to the supplied stream in MIME format.
Declaration
public void Save(Stream output)
Parameters
Type | Name | Description |
---|---|---|
Stream | output | Stream to save the message to. |
Save(String)
Saves the mail message to the supplied file in MIME format.
Declaration
public void Save(string fileName)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | Path to the file to save the message to. |
Save(Stream, MailFormat)
Saves the mail message to the supplied stream.
Declaration
public void Save(Stream output, MailFormat format)
Parameters
Type | Name | Description |
---|---|---|
Stream | output | Stream to save the message to. |
MailFormat | format | Format of the saved message. |
Save(String, MailFormat)
Saves the mail message to the supplied file.
Declaration
public void Save(string fileName, MailFormat format)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | Path to the file to save the message to. |
MailFormat | format | Format of the saved message. |