C# Class LumiSoft.Net.Mime.MimeConstructor

Datei anzeigen Open project: jeske/StepsDB-alpha Class Usage Examples

Public Methods

Method Description
MimeConstructor ( ) : System

Default constructor.

ToByteData ( ) : byte[]

Stores mime message to byte[].

ToFile ( string fileName ) : void

Stores mime message to specified file.

ToStream ( Stream storeStream ) : void

Stores mime message to specified stream. Stream position stays where mime writing ends.

ToStringData ( ) : string

Stores mime message to string.

Private Methods

Method Description
AddressesToArray ( string addressFieldValue ) : LumiSoft.Net.Mime.MailboxAddress[]

Converts RFC 2822 address filed value to address array.

AddressesToString ( MailboxAddress addresses ) : string

Converts address array to RFC 2822 address field fomat.

ConstructBinaryMime ( ) : MemoryStream
ConstructBody ( string boundaryID ) : string
ConstructMime ( ) : string
SplitString ( string sIn ) : string

Method Details

MimeConstructor() public method

Default constructor.
public MimeConstructor ( ) : System
return System

ToByteData() public method

Stores mime message to byte[].
public ToByteData ( ) : byte[]
return byte[]

ToFile() public method

Stores mime message to specified file.
public ToFile ( string fileName ) : void
fileName string File name.
return void

ToStream() public method

Stores mime message to specified stream. Stream position stays where mime writing ends.
public ToStream ( Stream storeStream ) : void
storeStream Stream Stream where to store mime message.
return void

ToStringData() public method

Stores mime message to string.
public ToStringData ( ) : string
return string