Trying to modify email template
Posted: March 4th, 2023, 8:05 am
NOTE: Links contain a space after the top level domain name. The system won't allow me to post links.
I reinstalled my entire setup on my Synology Media Setup using the Trash Guide. I am running version 3.7.2 and my entire setup in Docker containers. I am trying to set up a custom email script for SABnzbd. I took the Standard Template script I found online here: https://sabnzbd.org/wiki/extra/email-templates
I created a script directory and dropped the file in there. Here is the file I pasted: https://0bin.net/paste/X5QUHeo4#qf9Rrrm ... Y54l8mTQHW
I made a simple modification by changing a word in the text so I'll know if the new script was used. Then I went to the Notifications Tab and ticked Enable Notification Script and chose the new script from the dropdown list and saved. The new notification is not working.
If I click the Test Notification button, I get this error "Notification script returned exit code -1 and output "None""
The log file shows this: https://0bin.net/paste/2NFLDfcw#CEuJDdq ... kxe728yZaK
Note, this template file is unchanged...I decided to leave as is but I still get the same error. I also made sure that the file is using Unix Linefeed...I created in Notepad ++.
I also tried setting the execute permissions but I could no longer see the template file in the drop down list. I also tried making sure the owner was correct. Nothing works.
I reinstalled my entire setup on my Synology Media Setup using the Trash Guide. I am running version 3.7.2 and my entire setup in Docker containers. I am trying to set up a custom email script for SABnzbd. I took the Standard Template script I found online here: https://sabnzbd.org/wiki/extra/email-templates
I created a script directory and dropped the file in there. Here is the file I pasted: https://0bin.net/paste/X5QUHeo4#qf9Rrrm ... Y54l8mTQHW
I made a simple modification by changing a word in the text so I'll know if the new script was used. Then I went to the Notifications Tab and ticked Enable Notification Script and chose the new script from the dropdown list and saved. The new notification is not working.
If I click the Test Notification button, I get this error "Notification script returned exit code -1 and output "None""
The log file shows this: https://0bin.net/paste/2NFLDfcw#CEuJDdq ... kxe728yZaK
Note, this template file is unchanged...I decided to leave as is but I still get the same error. I also made sure that the file is using Unix Linefeed...I created in Notepad ++.
I also tried setting the execute permissions but I could no longer see the template file in the drop down list. I also tried making sure the owner was correct. Nothing works.