MailBee.NET Objects 4.0

AttachmentCollection.Add Method

Adds an attachment to the collection.

Overload List

Adds the specified Attachment object to the collection.

public void Add(Attachment);

Adds the specified the MailMessage as attachment (i.e. forwards that message as attachment).

public void Add(MailMessage,string,string,string,HeaderCollection,NewAttachmentOptions,MailTransferEncoding);

Adds the attachment from a byte array.

public void Add(byte[],string,string,string,HeaderCollection,NewAttachmentOptions,MailTransferEncoding);

Adds the attachment from a stream.

public bool Add(Stream,string,string,string,HeaderCollection,NewAttachmentOptions,MailTransferEncoding);

Adds the attachment from a file.

public bool Add(string);

Adds the attachment from a file.

public bool Add(string,string);

Adds the attachment from a file.

public bool Add(string,string,string);

Adds the attachment from a file.

public bool Add(string,string,string,string,HeaderCollection,NewAttachmentOptions,MailTransferEncoding);

See Also

AttachmentCollection Class | MailBee.Mime Namespace | Attachment