Simple Mail and Post Office Protocol for .Net (SmtPop) |
|
MessageBuilder.Build Method (String, String, String, String, MimeTextContentType, Image, ImageFormat, String)
Build a MimeMessage with text body and an image as attachment
Parameters
-
From
- The from address
-
To
- The destination address
-
Subject
- The mail subject
-
Body
- The mail body text
-
TextType
- The body Content-Type
-
image
- The image to send as attachment
-
format
- The image format
-
name
- The image name
Return Value
A MimeMessage
Remarks
All text is encoded with the default charset define in SmtPop.Config
See Also
MessageBuilder Class | SmtPop Namespace | MessageBuilder.Build Overload List