aspNetEmail

Attachment Constructor

Create an attachment manually by setting each property. This cctor should only be used by advanced developers. Use one of the other cctors for easier processing.

Overload List

Create an attachment manually by setting each property. This cctor should only be used by advanced developers. Use one of the other cctors for easier processing.

public Attachment();

Adds an attachment to an EmailMessge from an array of bytes.

public Attachment(byte[],string);

Creates an email attachment

public Attachment(byte[],string,MailEncoding,Encoding);

Adds an attachment to an EmailMessage from a stream.

public Attachment(Stream,string);

Creates an attachment to be added to the EmailMessage.

public Attachment(string);

Creates an attachment that will be used during the Mail Merge process.

public Attachment(string,AttachmentMMBehavior);

Creates an email attachment

public Attachment(string,MailEncoding,Encoding);

See Also

Attachment Class | aspNetEmail Namespace