Tip: Use email notification to send sms.

Got a program that plays well with SABnzbd? Share it here!
Post Reply
User avatar
thaylok
Newbie
Newbie
Posts: 29
Joined: November 20th, 2008, 11:39 am

Tip: Use email notification to send sms.

Post by thaylok »

Use email notification to send sms:

- Get a Clickatell API account: https://www.clickatell.com/products/sms_gateway.php (It's a NO monthly sms gateway)
- Activate the SMS over SMTP API in your settings: https://www.clickatell.com/central/manage_products.php
- Setup your email configuration in SABnzb to send to this adress: [email protected]

Edit email.tmpl in your SABnzb dir like this:

Code: Select all

to: $to
from: $from
subject:
X-priority: 5
X-MS-priority: 5
## After this comes the body, the empty line is required!

user:xxxxx
password:xxxxx
api_id:xxxxx
to:xxxxx
text:<!--#if $status #--> Done: $name <!--#else#--> Failed: $name <!--#end if#-->
text:Size: $size

With the lines above you will get a sms looking like this:

----------------------------------
Done: Movie Name (2008)
Size: 703MB
----------------------------------
or
----------------------------------
Failed: Movie Name (2008)
Size 703MB
----------------------------------

The "text:" is where you put the actions you want SABnzb to do before sending (info to send),
look here to see different options: http://svn2.assembla.com/svn/SABnzbd/tr ... email.tmpl

Here is a guide on using the smtp api:
http://www.clickatell.com/downloads/smt ... l_SMTP.pdf
Post Reply