Email Factory for .NET

Attachment Constructor (Byte[])

Constructs a new

Attachment
instance.

public Attachment(
   byte[] data
);

Parameters

data
The body byte[] data for attachment.

Example

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

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

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

See Also

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