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

MimeAttachment Constructor (String, String, String, MimeDisposition)

Constructs an attachment from a local file

public MimeAttachment(
   string path,
   string filename_send,
   string content_type,
   MimeDisposition disposition
);

Parameters

path
Path of local file to send
filename_send
The filename of the atachment
content_type
The Mime Content-Type
disposition
The Mime disposition

See Also

MimeAttachment Class | SmtPop Namespace | MimeAttachment Constructor Overload List