CALLBasic Command - Email

Command: Email
   
Description: Use this command to send an email.
The email will be sent as defined by the Mode set in the System Parameter #30 - 'MAPI Profile'.  See Activating Email for details.
   
Format: Email MapiProfile FromAddress ToAddress CCAddress BCCAddress Subject BodyText FileAttach
     
  Parameter Type Description
  Input:    
  MapiProfile String email account name will be used if matching name exists
  FromAddress String email address of sender
  ToAddress String email address of recipient. Can contain multiple addresses separated by a semi-colon.
  CCAddress String email address of recipient to receive copy. Can contain multiple addresses separated by a semi-colon.
  BCCAddress String email address of recipient to receive blind copy.  Can contain multiple addresses separated by a semi-colon.
  Subject String email subject
  BodyText String content of email
  FileAttach String full path of file to be used as email attachment
  Output:    
  None    

NOTE: space required for any blank parameters

Example:
    Program
        MapiProfile = “CallMaster”
        From = “callmaster@speechsoft.com”
        To = “sales@speechsoft.com;service@speechsoft.com“
        CC = “support@speechsoft.com “
        BCC = “ ”
        Subject = “CALLMaster Survey”
        BodyText = “The attached message is from CALLMaster.”
        FileAttach = “C:\Program Files\CallMASTER\Doc\Readme.txt”
        Email MapiProfile From To CC BCC Subject BodyText FileAttach
    EndProgram