Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
ics:sendmail
Sends an SMTP mail message to one or more recipients.
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
 plain/text.
Description
The
SendMailtag sends an SMTP message to one or more recipients. To send mail, the Content Server properties file must contain valid values for thecs.emailhostandcs.emailreturntoproperties. To receive mail, the Content Server properties file must contain valid values for thecs.emailhost,cs.emailaccount, andcs.emailpasswordproperties.errno
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 > ![]()
FatWire JSP Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.