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

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 SendMail tag sends an SMTP message to one or more recipients. To send mail, the Content Server properties file must contain valid values for the cs.emailhost and cs.emailreturnto properties. To receive mail, the Content Server properties file must contain valid values for the cs.emailhost, cs.emailaccount, and cs.emailpassword properties.

errno

The possible values of errno include:

Value
Description
-202
Cannot send mail.

Example

The following example sends an e-mail message to joeuser and janeuser. The syntax of all parameter values must comply with SMTP syntax.

See Also

ics:sendmail

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.