Previous Topic: _encoding

Next Topic: template

_additionalHeaders

Example: Add custom header attributes

The following example shows you how to add two custom header attributes, "X-TCCCSWD" and "myheader":

<!-- Define the E-mail Properties ---> 
<% 
_to = "siteadmin@ca.com"; 
_cc = "" ; 
_bcc = "" ; 
_subject = _eventContextInformation.getEventName() +" completed"; 
var additionalHeaders = new java.util.HashMap(); 
additionalHeaders.put("header_a","1"); 
additionalHeaders.put("header_b","foo"); 
_additionalHeaders = additionalHeaders; 
%> 


Copyright © 2010 CA. All rights reserved. Email CA about this topic