Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MailMessage.Save Method

Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9147)

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.

In This Article
  • Save(Stream)
  • Save(String)
  • Save(Stream, MailFormat)
  • Save(String, MailFormat)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies