Page 1 of 1

Help with notification script

Posted: September 19th, 2024, 2:36 am
by Taomyn
I think at some point in the past my notification scripts broke, so I'm finally looking into why. In the Config/Notification section, Email is working fine and tests arrive in my mailbox. But in the Notification Script section, the test no longer sends the content of the Parameters field where I had put my email address, so when my script runs it has no address and so fails to send me any messages. I only get the 3 parameters as shown in the wiki. Did this get changed at some point, and if so how does the Parameters field work now?

Re: Help with notification script

Posted: September 19th, 2024, 2:46 am
by safihre
See documentation: https://sabnzbd.org/wiki/configuration/ ... on-scripts
It is now an environment variable.
It was changed because otherwise this feature could be super easily abused for hacking attempts if the SABnzbd instance was somehow accessed externally.

Re: Help with notification script

Posted: September 19th, 2024, 4:48 am
by Taomyn
Thank-you for the help, now that I understand it better I was able to get my script running again.