Dart Smtp, Pop, Imap Controls
AddHtml Method
Fully qualified path of the HTML file to create the message from.
Description
Create a ready-to-send HTML email message.
Syntax
Visual Basic
Public Sub AddHtml( _
   ByVal FileName As String _
) 
Parameters
FileName
Fully qualified path of the HTML file to create the message from.
Remarks

This method provides an easy way to create a ready-to-send HTML email message. When the method is called, the HTML file specified by FileName is grabbed and added as a part. The text from this file is also added as a part for any mail reader that cannot read HTML. All images referenced by the HTML text (using "img" tags) are added as parts to the message.

It is not advised to alter the Message object once it has been created using the AddHtml method.

Error Codes

This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):

See Also

Message Object  | Message Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic