This function sends html formatted email using the connection to the email server setup with EmailConnect.

 

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.

 

Syntax:

EmailSendHTML( toList, subject, message,_

              [ccList], [bccList], [attachments], [images], [alternate text] )

 

Parameter:

Description:

toList

the list of email address to send the email to. To send to more than one email address put <> around each address and separate using a semi colon.

subject

The subject of the email.

message

The message body of the email.

[ccList]

Optional: The email cc list.

[bccList]

Optional: The email bcc list.

[attachments]

Optional: The list of file names to attach. Full path name required. Separate multiple files by a semicolon only -- no spaces.

[images]

Optional: The image files to send.

[alternate text]

Optional: The alternate text for plain text viewers.

 

Example:

 

Returns:

 

 

Links:

 

See Also:

Email Manager

 


Edit Time: 9/25/2017 09:09:54 AM


Topic ID#: 278

 

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software