|
Sending Email Using CBS
You can use the
Shell()
function to send email messages using your default Email client
software. The syntax of this function is:
Shell("Mailto:address¶meters")
The address part of the message may be blank, a
single email address or multiple email addresses separated by
semicolons (;) in the case of Microsoft Outlook or commas (,) in
the case of Eudora. The exact syntax will vary depending on the
email client software you are using.
The parameters section of the message is optional
and not supported by all email clients. For Microsoft Outlook you
can pass these settings:
|
Parameter
|
Meaning
|
|
CC=
|
carbon copy
|
|
BCC=
|
blind carbon
copy
|
|
SUBJECT=
|
subject of
email
|
|
BODY=
|
body text of
email
|
For example:
Shell("Mailto:sales@capitaloffice.com.au&cc=myaddress@isp.com")
The %20 symbol can be used to represent a space
and %0d for a line feed.
The above settings are specific to Microsoft Outlook
and may not work with other email clients.
____________________________
Related Topics
Programmer's
Frequently Asked Questions
|