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 »

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: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Conditional Failed Status Email Template?

Post by shypike »

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