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

 

Syntax:

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

 

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.

 

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

Returns:

No information is returned.

 

Links:

 

See Also:

Email Manager

 


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


Topic ID#: 277

 

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