mailinsms
External SMS sender scripts
These scripts send the SMSes from mailinsms. There are some examples in this directory: westelnetcat: you can use it for Westel (Hungary), it uses NetCat to send
the e-mails (the SMSes). It is the simple form of the built-in
script.
westelmailto: you can use it for Westel (Hungary), it uses mailto to send
the e-mails (the SMSes). If you use it, you have to change the
Fix_String_In_SMS option
Parameters passed to these scripts:
<Recipient> <SMTP_Host> <SMS_Sending_Interval> <Reverse_Order>
Your script should interpret these parameters!
How to write a script:
Mailinsms splits the output into partX.sms files, where X is a number. 1 is the first, 2 is the second and so on (no 0 at the first position!). The files contains only one line without the new line character. Your script have to delete the part files, too.
WARNING: from version 0.6.0 your script have to finish its doing within 3 minutes. It is a security setting. If it won't, it will be killed with its children.
This is the only way to use your non-Westel mobile phone with mailinsms. Please send me your script, if you are success!
Your script should not write into the main log file directly. If your mailinsms crashes, the output of the watcher process killer routine will be lost. You should write mailinsms.log2 (the main log file + "2"). This file will be appended after a termination.
Good luck!
