MAILTO Send an e-mail message via default e-mail client |
Top Previous Next |
This command may be used obtain an e-mail address, subject line, and/or message body under script control and then invoke the external system default e-mail client. The client is launched and FileLink script continues.
The arguments are optional but if used must be in order shown above. Supply empty string(s) as necessary if you wish to supply a subject, for example, without an e-mail address.
Line breaks may be embedded in [ body ] with the ā\nā character sequence. Not all e-mail clients, however, recognize line breaks and may substitute a space character.
Consider the following example where the default e-mail client is launched with an e-mail address, subject line, and message body.
SET email = "[email protected]" SET subj = "Thanks for your order!" SET body = "We appreciate your business." MAILTO email subj body
Consider the following example where only a multi-line message body is specified.
SET body = "Your password is:\n\n4ikk3433" MAILTO "" "" body
Related Command(s): CREATEMAIL, GETMAIL, SENDMAIL
|