CCXML 1.0 Development Guide Home  |  Frameset Home


<voxeo:sendmail>  element

The 'sendemail' tag is a new extension element to Voxeo's arsenal of CCXML coolness. This tag allows you to programmatically send an email to a user specified destination. Additionally, this new element also allows you to output debugging information in the body of the email, which is a very useful 'watchdog' feature that allows you to be alerted via email whenever errors are encountered within the application. Also note that the 'xmlns:voxeo' attribute must be declared and mapped to the proper voxeo namespace, (see the 'ccxml' element listing for details).


usage
<voxeo:sendmail body="CDATA" from="(email address)" to="(email address)" type="CDATA">


attributes
body Data Type: CDATA Default: Optional
The 'body' attribute allows the developer to specify text to insert in the body of the email that is sent out when the element is executed.
from Data Type: (email address) Default: Required
The 'from' attribute allows the developer to specify a return address for emails sent through the 'voxeo:sendemail' element. Any valid email address is allowed, provided that it is parseable.
to Data Type: (email address) Default: Required
The 'to' attribute allows the developer to specify a return address for emails sent through the 'voxeo:sendemail' element. Any valid email address is allowed, provided that it is parseable.
type Data Type: CDATA Default: none - attribute is optional
The 'type' attribute defines the type of email to be sent to the maintainer of the CCXML application. If unspecified, then the resulting email message must be entirely user defined within the 'body' attribute. If, however, the 'type' is set to 'debug', then a whole host of debugging output is included in the body of the email, (very useful information to have for troubleshooting an application that goes belly-up when you aren't watching the realtime logger).



parents
none


children
none


code samples
none


additional links
none


  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login



© 2006 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site