MailMill COM 1.0 Documentation

HtmlBody Mail Property:
Gets or sets a string that is the html body.
Syntax:
[C++]
HRESULT get_HtmlBody(BSTR *pVal);
HRESULT put_HtmlBody(BSTR newVal);
[VB]
Property HtmlBody As String
Remark:
Set the HtmlBaseLocation property to specify the referenced images folder. You may use the LoadHtmlBody function to load the HtmlBody property from an html file content and set the HtmlBaseLocation property to the file folder. You may also set the TextBody property to create an alternative text part to the html body.
Example:
[VB]
Dim oMail As New Mail
oMail.HtmlBaseLocation = "d:\web\images"
oMail.HtmlBody = "<html><body background=""back_ground.jpg"">" &_
    "This is the html body with a background image...</body></html>"
See also:
MailMill Component | Mail Object

 

Copyright © Active+ Software 2005 - All rights reserved