Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | 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
SendMailtag sends an SMTP message to one or more recipients. To send mail, the Sites properties file must contain valid values for thecs.emailhostandcs.emailreturntoproperties. To receive mail, the Sites properties file must contain valid values for thecs.emailhost,cs.emailaccount, andcs.emailpasswordproperties.Error Numbers
The possible values of
errnoinclude:
Value Description -202 Cannot send mail.Example
The following example sends an e-mail message to
joeuserandjaneuser. 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, Oracle and/or its affiliates. All rights reserved.