Home > Contents > Index >
EMAIL.SETBODY
Sets the e-mail body text for the e-mail object.
Syntax
<EMAIL.SETBODY NAME="email_object_name" VALUE="body_text" />Parameters
NAME (required)
- Name of the e-mail object.
VALUE (required)
- Body 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 e-mail body, and then gets the value for the e-mail body.
<!-- Create and Load e-mail object--> <EMAILMANAGER.CREATE OBJVARNAME="emailObj"/> <br/><br/> <EMAILMANAGER.LOAD NAME="AssignmentDueReminder" OBJVARNAME="emailObj"/> <br/><br/> <!-- Sets the value for e-mail body --> <EMAIL.SETBODY NAME="emailObj" VALUE="This is my email body"/> <br/><br/> <!-- Gets the value for e-mail body --> <EMAIL.GETBODY NAME="emailObj" VARNAME="emailBodyOutput"/> <br/><br/> Body is: <CSVAR NAME="Variables.emailBodyOutput"/><br/><br/>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.