aspNetEmail

Attachment.ZippedAttachment Method

Create a compressed/zipped Attachment from a byte array of data.

Overload List

Create a compressed/zipped Attachment from a byte array of data.

public static Attachment ZippedAttachment(byte[],string,string);

Create a compressed/zipped Attachment from a stream.

public static Attachment ZippedAttachment(Stream,string,string);

Automatically zip/compress an entire directory.

public static Attachment ZippedAttachment(string,bool,string);

Create a compressed/zipped attachment from a file.

public static Attachment ZippedAttachment(string,string);

Create a compressed/zipped Attachment from a list of files.

public static Attachment ZippedAttachment(string[],string);

See Also

Attachment Class | aspNetEmail Namespace