|
EmailSendHTML |
Top Previous Next |
|
This function sends html formatted email using the connection to the email server setup with EmailConnect.
Syntax
EmailSendHTML( toList, subject, message, [ccList], [bccList], [attachments], [images], [alternate text] )
Parameters
Additional EmailSendHTML Notes:
If the first character of the message (6th argument) or alternate text (8th argument) is a '@', then it is considered as the filename which contains the message to send.
The 'Images' field contains the filenames of images that are to be embedded in the email message. The first image must be referenced in the text of the HTML encode email message as
<IMG SRC="cid:message-root.1">
The second image (if any) must be referenced as
<IMG SRC="cid:message-root.2">
Continue in this way for all embedded images.
'AltText' is used to provide a plain ASCII text equivalent of the message for those email clients that cannot decode HTML.
Example EmailSend( "thewebmaster@tradingblox.net", "Trading Blox Order Message", outputString )
EmailSend( "<thewebmaster@tradingblox.net>;<myBroker@tradingblox.net>", "Trading Blox Order Message", outputString )
EmailSend( "thewebmaster@tradingblox.net", "Trading Blox Order Message", outputString, "", "", "c:\myResults.pdf" )
EmailSend( "thewebmaster@tradingblox.net", "Trading Blox Order Message", outputString, "", "", "c:\myResults.pdf;c:\myOrders.csv" )
|