• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Interface IMailMessage

Represents a mail message loaded from a file or stream, providing access to its underlying MapiMessage representation and the ability to save it back to disk.

Namespace: DRIT.Mail
Assembly: DRIT.Mail.dll
Syntax
public interface IMailMessage

Properties

View Source

MapiMessage

Gets the underlying MapiMessage representation of this message.

Declaration
MapiMessage MapiMessage { get; }
Property Value
Type Description
MapiMessage
View Source

SourceFormat

Gets the format from which this message was originally loaded.

Declaration
MailMessageFormat SourceFormat { get; }
Property Value
Type Description
MailMessageFormat

Methods

View Source

Save(Stream, MailMessageFormat)

Saves the message to the specified stream in the given format.

Declaration
void Save(Stream stream, MailMessageFormat format)
Parameters
Type Name Description
Stream stream

The stream to write to.

MailMessageFormat format

The target format.

View Source

Save(string, MailMessageFormat)

Saves the message to the specified file in the given format.

Declaration
void Save(string fileName, MailMessageFormat format)
Parameters
Type Name Description
string fileName

The path of the file to save to.

MailMessageFormat format

The target format.

  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX