Send a different e-mail notification to each recipient with filtered results in attachment. For instance, if you use $ps_helper -report-filter
in the Build section of this project to filter results for a file owner, you can send the filtered report to that file owner. Each time you use $ps_helper -report-filter
with an owner name, the name is appended to a list of owners. You can send an individual e-mail to all owners in this list.
Specify a base name for file attachments and files containing mail subject and mail body. The recipient name (or owner name) is appended to this base name to create a personalized e-mail for each recipient. The recipient name also determines the e-mail address where this personalized e-mail is sent.
For instance, suppose you specify the following:
If the list of recipients contains the names userA
and userB
:
userA@emailExtension.com
. The email contains the file report_userA.tsv
in attachment. The mail subject comes from subject_userA.txt
and the mail body comes from body_userA.txt
.userB@emailExtension.com
. The email contains the file report_userB.tsv
in attachment. The mail subject comes from subject_userB.txt
and the mail body comes from body_userB.txt
.The full e-mail address is determined from the server specified in the E-mail Notification section on the Configure System page. You can create files for attachments and e-mail content through scripts in the Build section of this project. For instance, you can calculate the number of new findings for each owner and use the number in the mail subject for the owner.
To test this personalized e-mail notification, enter an e-mail username (or e-mail address) in the field Unique recipients - Debug only. Instead of separate e-mail notifications to individual recipients, all e-mails are sent to this address. After checking the e-mail content in the notifications, clear this field for later builds.