Conditional Failed Status Email Template?

Got a neat new template? Share it here!
Post Reply
KuroSkafi
Newbie
Newbie
Posts: 2
Joined: September 21st, 2014, 8:31 pm

Conditional Failed Status Email Template?

Post by KuroSkafi » September 28th, 2014, 7:15 pm

How could one write an email template for sabnzbd that is only sent out if the download fails?

Thanks for any help!

User avatar
shypike
Administrator
Administrator
Posts: 21036
Joined: January 18th, 2008, 12:49 pm

Re: Conditional Failed Status Email Template?

Post by shypike » September 29th, 2014, 2:22 pm

Have you read this: http://wiki.sabnzbd.org/email-templates
The variable you should test is $status
The example at the bottom tests for the category, but that can easily be changed.

BTW: The standard email notification can be set to "error only".

Post Reply