Cisco Cisco Unified Customer Voice Portal 10.5(1) Developer's Guide

Page of 91
A
CTION 
E
LEMENT
:
 
E
MAIL
 
 
C
ISCO 
CVP
 
V
OICE
XML
 
3.0 
 
 
Element Specifications 
 
 
 
Copyright 2001 - 2005 Audium Corporation.  All Rights Reserved. 1/14/05
 
38
 
Email 
The Email action element sends messages using the Javamail package supplied by the application server to send messages to the 
provided email address.  Additionally the message can include attachments. The application server must be configured to set a JNDI 
datasource for mail sessions. The to and tolist fields are not individually required however at least one must be defined.  Email 
addresses are not verified for syntax or validity.  Attachments that do not exist will be skipped but the message will still be sent.  
Repeated email addresses are sent the message multiple times.  The toListccList and bccList settings must refer to session data 
variables that holds a 
ResultSetList
 Java class holding a list of email addresses (retrieved from a Database element).   
Settings 
Name (Label) 
Type 
Req’d 
Single 
setting 
value 
Substitution 
allowed 
Default 
Notes 
jndiName 
(JNDI Name) 
string Yes  true true None  The configured JNDI datasource for mail sessions under the java 
application server. 
to 
(To) 
string No false true  None  Email address this message should be sent to. This setting is repeatable so 
that each setting value contains a separate email address. 
toList 
(To List) 
string No  true 
true
 
None 
The name of a session data variable containing a 
ResultSetList
  
object 
holding a list of email addresses as retrieved from a Database element. 
The email will be sent to every address in this list. 
from 
(From) 
string Yes  true 
true
 
None 
The from/reply-to address for the email. 
cc 
(Cc) 
string No false true  None  Email address this message should be carbon copied to. This setting is 
repeatable so that each setting value contains a separate email address. 
ccList 
(Cc List) 
string No  true true None  The name of a session data variable containing a 
ResultSetList
  
object 
holding a list of email addresses as retrieved from a Database element. 
The email will be carbon copied to each address in this list. 
bcc 
(Bcc) 
string No false true  None  Email address this message should be blind carbon copied to. This setting 
is repeatable so that each setting value contains a separate email address. 
bccList 
(Bcc List) 
string No  true true None  The name of a session data variable containing a 
ResultSetList
  
object 
holding a list of email addresses as retrieved from a Database element. 
The email will be blind carbon copied to each address in this list. 
subject 
(Subject) 
string No  true true None  Subject field of the email. 
attachment 
(Attachment) 
string No false true  None  Full local path of the file to be attached. This setting is repeatable so that 
each setting value contains a reference to separate attachments.