Dear Team, I was in this forum for an help in configuring mail notification. I have configured notification by backup_exit_notification script and blat. However, as per the client's demand I have modified the script so that the mail notification in the subject line carries clear information of success / failure of backup. However after I made that change, the email notofication stopped. Here is the script after modification. I have attached the modified script
If I am running the blat command used in script from command line as below it is working and I am receiving mail.
blat %OUTF% -to xxxxxxxxxx@abcgroup.com -s "Backup for %1 : Policy %2 : on %DATE% has been %STATUS%" -q
However, when the same command is inserted in the last part of backup_exit_notify script, and if I execute the script from command prompt it is not sending mail.
Suspecting some errors in the script I have fired the command like below from command line.
~bin:> backup_exit_notify >c:\mail.log 2>&1 .
However no error messages are found logged in mail.log.
Could any one help to fix the problem with this script.
Thanks and regards
Shinoj