HtmlBaseLocation Mail Property:
Gets or sets a string that specifies a path to
the folder where the images that are referenced by the html body are
stored.
Syntax:
[C++]
HRESULT get_HtmlBaseLocation(BSTR
*pVal);
HRESULT put_HtmlBaseLocation(BSTR newVal);
[VB]
Property HtmlBaseLocation
As String
Remark:
If
HtmlBaseLocation
property is empty, images referenced by the
HtmlBody property are searched in the
current directory.
Example:
[VB]
Dim oMail As New Mail
oMail.HtmlBaseLocation = "d:\web\images"
oMail.HtmlBody = "<html><body
background=""back_ground.jpg"">" &_
"This is a mail with a background
image...</body></htm>"
See also: