MailBee.NET Objects 3.1

MailMessage.LoadBodyText Method

Loads the contents of the specified file (or URI) into HTML or plain-text body.

Overload List

Loads the contents of the specified file into HTML or plain-text body of the message.

public bool LoadBodyText(string,MessageBodyType);

Loads the contents of the specified file or web page into HTML or plain-text body of the message, also attaching related objects such as inline images if necessary.

public bool LoadBodyText(string,MessageBodyType,Encoding,ImportBodyOptions);

See Also

MailMessage Class | MailBee.Mime Namespace | ImportRelatedFiles | Builder