Operating system name and version: Ubuntu 12.04 LTS
Version of smsd: 3-3.1.15
Smsd installed from: from web
Name and model of a modem / phone: teltonika CM1100 modem
Interface:USB
Hi,
when i using this script:
smstools3.kekekasvi.com/topic.php?id=505
i have recieved this error /usr/local/bin/smsd_eventhandler.sh: line 8: formail: command not found
FROM=`formail -zx From: < $2`
when i change FROM=`formail -zx From: < $2` to FROM='formail -zx From: < $2' or FROM="formail -zx From: < $2" it's send info to mail, but text is distorted.
example:
subject: New SMS received from formail -zx From: < $2
body: cat $2
I need that all the sms content to be ported to mail a letter body , and in subject will show phone number.
can someone help?
Operating system name and version: Ubuntu 12.04 LTS
Version of smsd: 3-3.1.15
Smsd installed from: from web
Name and model of a modem / phone: teltonika CM1100 modem
Interface:USB
Hi,
when i using this script:
smstools3.kekekasvi.com/topic.php?id=505
i have recieved this error /usr/local/bin/smsd_eventhandler.sh: line 8: formail: command not found
FROM=`formail -zx From: < $2`
when i change FROM=`formail -zx From: < $2` to FROM='formail -zx From: < $2' or FROM="formail -zx From: < $2" it's send info to mail, but text is distorted.
example:
subject: New SMS received from formail -zx From: < $2
body: cat $2
I need that all the sms content to be ported to mail a letter body , and in subject will show phone number.
can someone help?