C# Class RemObjects.InternetPack.Messages.Mime.MimeMessage

This is the root of the email tree structure.
Mime.MessagePart for a description about the structure.

A Message (this class) contains the headers of an email message such as: - To - From - Subject - Content-Type - Message-ID which are located in the Headers property.

Use the MimeMessage.MessagePart property to find the actual content of the email message.
Mostrar archivo Open project: remobjects/internetpack

Public Methods

Method Description
MimeMessage ( ) : System
MimeMessage ( Byte rawMessageContent ) : System

Convenience constructor for Mime.MimeMessage(Byte[], Boolean).

Creates a message from a Byte array. The full message including its body is parsed.

MimeMessage ( Byte rawMessageContent, System.Boolean parseBody ) : System

Constructs a message from a Byte array.

The headers are always parsed, but if parseBody is , the body is not parsed.

ToHttpResponseBody ( StringBuilder sb ) : void

Method Details

MimeMessage() public method

public MimeMessage ( ) : System
return System

MimeMessage() public method

Convenience constructor for Mime.MimeMessage(Byte[], Boolean).

Creates a message from a Byte array. The full message including its body is parsed.
public MimeMessage ( Byte rawMessageContent ) : System
rawMessageContent Byte The Byte array which is the message contents to parse
return System

MimeMessage() public method

Constructs a message from a Byte array.

The headers are always parsed, but if parseBody is , the body is not parsed.
public MimeMessage ( Byte rawMessageContent, System.Boolean parseBody ) : System
rawMessageContent Byte The Byte array which is the message contents to parse
parseBody System.Boolean if the body should be parsed, if only headers should be parsed out of the Byte array
return System

ToHttpResponseBody() public method

public ToHttpResponseBody ( StringBuilder sb ) : void
sb StringBuilder
return void