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

MimeAttachment.SetBodyText Method (String, MimeTransferEncoding, MimeTextContentType)

Initilizes attachment as text

public void SetBodyText(
   string body,
   MimeTransferEncoding TransferEncoding,
   MimeTextContentType ContentType
);

Parameters

body
The body text of attachment
TransferEncoding
The encoding for transfer
ContentType
The Mime content type

See Also

MimeAttachment Class | SmtPop Namespace | MimeAttachment.SetBodyText Overload List