Page 1 of 1

Email Templates

Posted: March 10th, 2019, 2:12 am
by Arch1mede
How do I set the email template dir? When I set it I get an error:

Cannot create email_dir folder /usr/share/sabnzbdplus/email
Even though the verbiage states: Folder containing user-defined email templates. Which to me says select an existing folder with the templates, why does it want to MAKE a new dir?

If I select the /config dir it works? Is the way it works is you select your dir and cp over the tmpl's? Does not seem very intuitive that way to me.

Re: Email Templates

Posted: March 10th, 2019, 3:33 am
by sander
I can confirm for a non-writable directory /home:

Popup "Cannot create email_dir folder /home"
Logging "ERROR::[misc:531] email_dir directory: /home error accessing"

It's from this "call create_real_path" (https://github.com/sabnzbd/sabnzbd/blob ... #L508-L534)

So, why the writing by SAB? No idea.

But what is your use case? Why do you want to specify /usr/share/sabnzbdplus/email for "Folder containing user-defined email templates.". Did you create user-defined email templates? And if so, in that directory?