Home > Contents > Index >
Template Tag 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 Sites 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 Sites properties file must contain valid values for the cs.emailhost and cs.emailreturnto properties. To receive mail, the Sites 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

Release Introduced

This tag was introduced in CS release 5.0.

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.