Email Factory for .NET

Attachment Constructor (MimeMessage)

Constructs a new

Attachment
instance from an existing MIME message.

public Attachment(
   MimeMessage message
);

Parameters

message
The MimeMessage.

Example

To construct an attachment, create an instance and provide the required mime message.

[CS]
Attachment att = new Attachment(message);

[Visual Basic]
Attachment att = new Attachment(message)

See Also

Attachment Class | Jscape.Email Namespace | Attachment Constructor Overload List