Home > Contents > Index >
mail.send
Sends SMTP email messages to one or more recipients.
Syntax
<MAIL.SEND to="recipient,recipient" [from="your e-mail"] [subject="subject of message"] [body="message body"] [replyto="your alternate e-mail address"] [contenttype="content format"] [charset="character set"] />Parameters
to (required)
- Comma-separated list of recipients' e-mail addresses to receive the message
from (optional)
- E-mail address of the sender. If a value is not specified, the value
cs.emailreturnto
in the Sites properties is used.
subject (optional)
- Subject of the message.
body (optional)
- Body of the mail message.
replyto (optional)
- Alternate e-mail address to which you wish replies to go. If a value is not specified, replies go to the sender's address specified in the
from
parameter. The address will not be visible until the receipient replies.
contenttype (optional)
- Type of content you are sending. The default is
text/html
.
charset (optional)
- Character set of your content. The default is the system default.
Description
To send mail, the Sites properties file must contain valid values for the
cs.emailhost
andcs.emailreturnto
properties. To receive mail, the Sites properties file must contain valid values for thecs.emailhost
,cs.emailaccount
, andcs.emailpassword
properties.Error Numbers
The possible values of
errno
include:
Value Description -202 Cannot Send MailRelease Introduced
This tag was introduced in CS release 5.0.
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.