Home > Contents > Index >
EMAIL.GETSUBJECT
Gets the e-mail subject text.
Syntax
<EMAIL.GETSUBJECT NAME="email_object_name
" VARNAME="variableName
" />Parameters
NAME (required)
- Name of the e-mail object.
VARNAME (required)
- Name of the output variable to create. This variable contains the 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 e-mail subject.
<!-- Create and Load Email 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, 2018, Oracle and/or its affiliates. All rights reserved.