Home > Contents > Index >
EMAIL.SETSUBJECT
Sets the e-mail subject text for the e-mail object.
Syntax
<EMAIL.SETSUBJECT NAME="email_object_name" VALUE="subject_text" />Parameters
NAME (required)
- Name of the e-mail object.
VALUE (required)
- Subject text.
Error Numbers
The possible values of
errno
include:
Value Description -105 Email object has a name conflict.Example
The following code creates and loads an e-mail object, sets the value for the e-mail subject, and then gets the value for the e-mail subject.
<!-- Create and Load e-mail object--> <EMAILMANAGER.CREATE OBJVARNAME="emailObj"/> <EMAILMANAGER.LOAD NAME="AssignmentDueReminder" OBJVARNAME="emailObj"/> <br/> <!-- Sets the subject of the e-mail --> <EMAIL.SETSUBJECT NAME="emailObj" VALUE="Subject for my mail"/> <br/> <!-- Gets the subject of the e-mail --> <EMAIL.GETSUBJECT NAME="emailObj" VARNAME="emailSubjectOutput"/> <br/> Subject is: <CSVAR NAME="Variables.emailSubjectOutput"/><br/><br/>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.