RE: email2sms
"Edwin R. Poot" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <002b01c347ae$39bdfda0$1402a8c0@Edwin> |
Hi Andreas, Of course, just write a program (perl, shell, php, whatever) and create users with the mobile phonenumber on you mailserver (SMTP). If you use sendmail you can add an entry to the /etc/aliases with a pipe and then the path to your program. If your sendmail server uses smrsh you will have to create a symbolic link in the /etc/smrsh directory to your program and add this in the /etc/aliases instead The program you need to write receives the email as the argument and you will have to concatenate the contents (or split it up in parts) to send it over SMS. Just use the TO emailadres (before the @-sign) as the recipient and call the /cgi-bin/sendsms url of your Kannel installation to sent it (as either POST (HTML/XML) or GET. Hope this helps you a bit. Kind regards, Edwin R. Poot [email protected] http://www.magic-code.com The Netherlands -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andreas Fink Sent: vrijdag 11 juli 2003 9:33 To: Diaa Fawzy Cc: [email protected] Subject: Re: email2sms On Freitag, Juli 11, 2003, at 09:03 Uhr, Diaa Fawzy wrote: Hi, Thanks for the contribution about how to configure Kannel for sms2email... I would like to ask is it possible to do the other way around, I mean email2 sms ?. Thanks in advance.. thats possible but more tricky because the sender can send attachments, send the text as HTML which can be encoded in a variety of ways. So the decoder would be aware of all the method's. We currently do it in an external application where we have those decoding functionalities in a plug in. Andreas Fink Global Networks Switzerland AG ------------------------------------------------------------------ Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333 Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland Web: http://www.global-networks.ch/ [email protected] ------------------------------------------------------------------