Cisco Cisco Customer Voice Portal 8.0(1) Developer's Guide

Page of 103
A
CTION 
E
LEMENT
:
 
E
MAIL  
 
 
 
          
E
LEMENT 
S
PECIFICATIONS FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL 
R
ELEASE 
4.0(1)
 
 
 
27
 
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. 
messageBody 
(Message Body) 
string Yes  true true None 
The message body of the email.