Home > Contents > Index >
ics:sendmail (Deprecated)
Deprecated; replaced by
mail:send
.Syntax
<ics:sendmail to="users" [replyto="address"] subject="subject" [body="message"] [contenttype="type"]/>Parameters
to (required)
- Comma-separated list of the recipients to receive the message
replyto (optional)
- E-mail address that you want replies to go to. If a value is not specified, replies go to the sender's address.
subject (required)
- Subject of the message.
body (optional)
- Body of the e-mail message.
contenttype (optional)
- Type of content you are sending. The default is
text/html
.
Description
The
SendMail
tag sends an SMTP message to one or more recipients. To send mail, the Sites properties file must contain valid values for thecs.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 mail.Example
The following example sends an e-mail message to
joeuser
andjaneuser
. The syntax of all parameter values must comply with SMTP syntax.<ics:sendmail to="joeuser,janeuser" subject="Test Message" body="Congratulations on becoming a member."/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.