Email Send

Top  Previous  Next

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

 

Syntax

 

EmailSend( toList, subject, message, [cclist], [bcclist], [attachments] )

 

Parameters

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


the email cc list

bccList


the email bcc list

attachments


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

 

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" )