Results 1 to 1 of 1
Thread: email to sms in procmailrc file
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2006
email to sms in procmailrc file
I tying to implement a email to sms for my office and I need the way of doing this in my procmailrc file (Because I am using sendmail). When a client send a mail to a particular email account that mail should be send to a specific mobile phone by taking phone number from subject and message from body. My sms sending application is gnokii and the command used for sending sms is,
echo “sms_message” |gnokii --sendsms <destination_phone_number>
Incoming mail should have destination phone number or numbers in the subject deli metered with comma and message is the body of the message.
How can I implement this? Do I need to write a rule set for procmail? If so pls help me for this with sample coding or post a good site for this.