How to start

Come up with a useful post-processing script? Share it here!
Post Reply
Donaldini
Newbie
Newbie
Posts: 1
Joined: April 20th, 2016, 11:29 am

How to start

Post by Donaldini »

I want to write a script that can send emails with some extra content because the email notification templates don't seem to cut it.

The question is: How do I begin with such a thing? In what language can I do this?
Preferably I want to use php, but i'm not sure whether that's possible. There doesn't seem to be much documentation about this, or I cannot find it :-)
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: How to start

Post by safihre »

You can do it in languages that work on your system. Usually that's something like batch files (for Windows) or bash files for Linux. Or more general, python files.
There should be example files online and in the download of how the parameters are supplied to the script.

Python is easy, I also came from php and actually python is even a tiny bit easier to program! Very easy and linear. Php usually is for webtasks, not for local things like moving files that you would do with python.

What are you missing in the email templates?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply