Simple Mail and Post Office Protocol for .Net (SmtPop)

MimeAttachment Constructor (String, String, String, Byte[], MimeDisposition)

Constructs an attachment from a memory buffer

public MimeAttachment(
   string name,
   string filename_send,
   string content_type,
   byte[] buf,
   MimeDisposition disposition
);

Parameters

name
The attachment name
filename_send
The attachment filename if need
content_type
The content type
buf
The buffer to send
disposition
The file disposition

See Also

MimeAttachment Class | SmtPop Namespace | MimeAttachment Constructor Overload List