Returns a byte array representation of the mail message. This is the same as the content of a file saved using the Save(String) message.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Function ToByteArray As Byte()
C#
public byte[] ToByteArray()

Return Value

Byte array representation of the mail message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also