Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

mail:send

Sends SMTP email messages to one or more recipients.

Syntax

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 Content Server 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 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.

Error Numbers

The possible values of errno include:

Value
Description
-202
Cannot Send Mail

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005 - 2011 by FatWire Corporation
All rights reserved.