Email Template Problem
Posted: March 23rd, 2010, 8:22 am
First of all, Hi everyone - long time lurker, first time poster!
I have a bit of a problem with SABnzbd+ 0.5.0.
Particularly, what I would like to do is send two email notifications on completion of downloads etc.
So what I've done is filled in my details in the web interface under Config>Email.
I've then set up two template files, and configured SABnzbd+ to look in the right folder under Config>Email
In the template files, I've replaced the $to with the email address I'd like the notification to go to.
The first template works perfectly; and sends a notification to the correct email address specified instead of $to.
The second template is being sent to the same address as the first - despite there being a completely different address!
Interestingly, while both emails go to the same address, the second email actually says "To:secondemailaddress" in my inbox, but when I examine the header of the email, obviously it has the first email address (as clearly otherwise it would end up in the correct inbox!)
Coincidentally, the address in the first template is the same as the one specified under Config>Email>Email Recipient.
So what I think is happening, is that despite there being two tmpl files configured with separate email addresses instead of $to, the program is using the one specified under Config>Email>Email Recipient.
I tried deleting the recipient in the web interface, but it won't let me. I can delete everything, but it won't work unless I fill all fields in again; and if I only delete the recipient, it won't delete it.
I have a bit of a problem with SABnzbd+ 0.5.0.
Particularly, what I would like to do is send two email notifications on completion of downloads etc.
So what I've done is filled in my details in the web interface under Config>Email.
I've then set up two template files, and configured SABnzbd+ to look in the right folder under Config>Email
In the template files, I've replaced the $to with the email address I'd like the notification to go to.
The first template works perfectly; and sends a notification to the correct email address specified instead of $to.
The second template is being sent to the same address as the first - despite there being a completely different address!
Interestingly, while both emails go to the same address, the second email actually says "To:secondemailaddress" in my inbox, but when I examine the header of the email, obviously it has the first email address (as clearly otherwise it would end up in the correct inbox!)
Coincidentally, the address in the first template is the same as the one specified under Config>Email>Email Recipient.
So what I think is happening, is that despite there being two tmpl files configured with separate email addresses instead of $to, the program is using the one specified under Config>Email>Email Recipient.
I tried deleting the recipient in the web interface, but it won't let me. I can delete everything, but it won't work unless I fill all fields in again; and if I only delete the recipient, it won't delete it.
