USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Send an email to one or more recipients
Sends an HTML email via the CDO mail system. If the message body argument is blank, the current result buffer is used as the body instead. Multiple recipients can be separated by commas or semicolons. Multiple attachments can be separated by the ^ character.
| Parameter | Description |
|---|---|
| cmd | To address(es), comma or semicolon separated |
| Argument 0 | CC address(es); leave blank for none |
| Argument 1 | BCC address(es); leave blank for none |
| Argument 2 | Email subject |
| Argument 3 | HTML message body; leave blank to use the result buffer |
| Argument 4 | Attachment file path(s), ^ separated; leave blank for no attachment |
| Argument 5 | From email address; leave blank to use the system default |
SendEmail "To address(es), comma or semicolon separated", "CC address(es); leave blank for none", "BCC address(es); leave blank for none", "Email subject", "HTML message body; leave blank to use the result buffer", "Attachment file path(s), ^ separated; leave blank for no attachment", "From email address; leave blank to use the system default"