4.6 Configuring Server Email
The 'Mail Configuration' page specifies how the report server mails reports to users, and how end users can contact an administrator in case an error is generated during report generation.
The 'Mail Host' option is required, and must specify one or more valid SMTP servers, separated by commas. If the servers require secure protocol, enable the “Secure SMTP” option. The 'From Email Address' specifies the fixed email address from which all emails are sent.
Additional properties are described below.
Figure 6. Mail Configuration Page

Mail Session JNDI URL
If the optional 'Mail Session JNDI URL' property is set, the report engine will first try to obtain a session from the JNDI directory when sending emails. If this fails, it will create a new session based on the setting provided for the 'Mail Host' property.
Note that the Scheduler cannot access this 'Mail Session JNDI URL' property, since the Scheduler runs as a separate application independent of the application server.
System Admin Email Address
The 'System Admin Email Address' specifies an email address to be displayed on report error pages. A user can click the displayed email address to send a message to the administrator, alerting them to the problem.
Emails Subject Format
The 'Delivery Emails Subject Format' and 'Notification Emails Subject Format' use java.text.MessageFormat syntax with two parameters, the first (index 0) being the report alias, and the second (index 1) being the date and time of report generation. For example, a report with alias 'testReport' and the following Subject Format specification,
Report named {0}, generated at {1,time} on {1,date}
would produce an email subject line such as the following:
Report named testReport, generated at 10:34:54 AM on Nov 5, 2007
where the time and date shown would be the actual time and date of report generation. See Filename Parameters for some examples of date formatting using java.text.SimpleDateFormat. If no alias is specified for the report in the 'Alias' field of the Report tab, then parameter “{0}” defaults to the report name.
The global 'Delivery Emails Subject Format' setting is overridden by the 'Subject' specified (if any) under the Schedule > Action tab of the Enterprise Manager and the User Portal.
Maximum Attachment Size
The 'Maximum Attachment Size [kB]' sets an upper limit for the size of an exported report file sent as a single attachment. If exceeded, the file is split into multiple files (binary split) and delivered via multiple emails. It is the responsibility of the recipient to concatenate all the fragments into one file. This concatenation can be done via command-line tools such as “type” (Windows) or “cat” (Linux). For example:
type file1.pdf file2.pdf > file3.pdf
| << 4.5 Configuring Database for Audit/Data Space | © 1996-2013 InetSoft Technology Corporation (v11.5) | 4.7 Configuring Server Printing >> |