MailMill COM 1.0 Documentation

LoadHtmlBody Mail Method:
Loads the HtmlBody property from a file and sets the HtmlBaseLocation property to the file folder.
Syntax:
[C++]
HRESULT LoadHtmlBody(BSTR file);
[VB]
Sub LoadHtmlBody(file As String)
Parameters:
file
File path to the html file to load.
Example:
[VB]
Dim oMail As New Mail
oMail.LoadHtmlBody "c:\mails\order_confirmation_template.htm"
oMail.HtmlBody = Replace(oMail.HtmlBody, "%Customer%", GetCustomerName())
See also:
MailMill Component | Mail Object

 

Copyright © Active+ Software 2005 - All rights reserved