Home > Contents > Index >
EMAIL.TRANSLATESUBJECT
Translates the e-mail subject.
Syntax
<EMAIL.TRANSLATESUBJECT NAME="email_object_name
" PARAMS="names_values"
VARNAME="variable_name
" />Parameters
NAME (required)
- Name of the e-mail object.
PARAMS (required)
- Set of names and values in standard form.
VARNAME (required)
- Name of the output variable to create. This variable contains the modified subject.
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 subject, and then translates the subject of the e-mail from the original subject to the modified 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 original e-mail subject --> <EMAIL.GETSUBJECT NAME="emailObj" VARNAME="emailSubjectOutput"/> Subject is: <CSVAR NAME="Variables.emailSubjectOutput"/><br/><br/> <br/> <!-- Translates original subject to modified subject --> <SETVAR NAME="Time" VALUE="00.00" /> <EMAIL.TRANSLATESUBJECT NAME="emailObj" PARAMS="instruction=Variables.emailSubjectOutput&username=xceleditor&timetocomplete=Variables.Time" VARNAME="subject"/> <br/> Translated Subject is: <CSVARNAME="Variables.subject"/><br/><br/>
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.