Help with notification script

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
Taomyn
Full Member
Full Member
Posts: 129
Joined: August 25th, 2008, 3:29 am

Help with notification script

Post 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?
User avatar
safihre
Administrator
Administrator
Posts: 5580
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Help with notification script

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
Taomyn
Full Member
Full Member
Posts: 129
Joined: August 25th, 2008, 3:29 am

Re: Help with notification script

Post by Taomyn »

Thank-you for the help, now that I understand it better I was able to get my script running again.
Post Reply