[0.5.6] Email notification does not work

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
neuk34
Newbie
Newbie
Posts: 5
Joined: March 6th, 2011, 3:51 pm

[0.5.6] Email notification does not work

Post by neuk34 »

Hello,

Could you please help me to correct my email config?
it's in french but I think it's easy to recognize ;)

Thanks a lot

Image

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

Re: [0.5.6] Email notification does not work

Post by shypike »

You're supposed to enter a *folder* name, not a template name.
SABnzbd will send the mail using all of the templates it finds in this folder.
neuk34
Newbie
Newbie
Posts: 5
Joined: March 6th, 2011, 3:51 pm

Re: [0.5.6] Email notification does not work

Post by neuk34 »

OK, Thanks !! but I've got this msg :

Do you know why?
Thx !

Code: Select all

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/boot/custom/Sabnzbd/cherrypy/_cprequest.py", line 618, in respond
    cherrypy.response.body = self.handler()
  File "/boot/custom/Sabnzbd/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/boot/custom/Sabnzbd/sabnzbd/interface.py", line 2568, in testmail
    str(123*MEBI), pack, 'my_script', 'Line 1\nLine 2\nLine 3\nd\xe8ja vu\n', 0)
  File "/boot/custom/Sabnzbd/sabnzbd/emailer.py", line 172, in endjob
    ret = send(message.respond())
  File "DynamicallyCompiledCheetahTemplate.py", line 105, in respond
NotFound: cannot find 'amount'
Last edited by neuk34 on April 1st, 2011, 4:44 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.6] Email notification does not work

Post by shypike »

Looks like you used an undefined variable $amount.
Look here for what is supported:
http://wiki.sabnzbd.org/email-templates
neuk34
Newbie
Newbie
Posts: 5
Joined: March 6th, 2011, 3:51 pm

Re: [0.5.6] Email notification does not work

Post by neuk34 »

Thank you shypike, it works now  !!
Post Reply