Running, printing, and viewing a document : Running or printing a job : Working with a job notification : Sending an e‑mail notification using SubmitJob
 
Sending an e‑mail notification using SubmitJob
To specify a user or notification group to receive a job notification, you can set one or more of the following elements of SubmitJob:
*NotifyUsersByName
*NotifyUsersById
*NotifyGroupsByName
*NotifyGroupsById
When you list the users or groups to notify, BIRT iHub determines their e‑mail addresses based on the user names or IDs.
The following example represents portions of a SubmitJob operation using the NotifyUsersByName element:
<SOAP-ENV:Body>
<SubmitJob>
<JobName>forecast</JobName>
<Schedules>
<TimeZoneName>PST</TimeZoneName>
<ScheduleDetails>
<JobScheduleDetail>

</JobScheduleDetail>
</ScheduleDetails>
</Schedules>
<NotifyUsersByName>
<String>Craig Osborne</String>
<String>Ying Chen</String>
</NotifyUsersByName>
</SubmitJob>
</SOAP-ENV:Body>