UNSOLVED

PapadopoulosA

updated

9 years ago

P

PapadopoulosA

1 Rookie

20 Posts

0

4735

July 19th, 2017 02:00

Networker 9.x email notification subject

Hello all.

This a question about customization in email notifications.

The mail notification can be 'on completion' or 'on failure', so i want to create a mail notification in a policy by adding the following command 'on completion':

smtpmail -h smtp_server -s "Policy ${NSR Policy} completed" –f sender@mail  recipient_mail


The email that will comes will have as subject "Policy xxxx completed" so in order to find out if the policy is 'successful', 'successful with warnings' or 'failed' you have to open the email and check it from the body message.

Does anyone have manage to modify the mail subject so the backup status ('successful', 'successful with warnings' or 'failed') displayed in subject line?


Thanks in advanced for any reply