Email Templates

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
Arch1mede
Newbie
Newbie
Posts: 5
Joined: June 10th, 2013, 10:17 pm

Email Templates

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: Email Templates

Post 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?
Post Reply