Procmail can catch the email and pass it through to a php script. That php script should parse the email body and send out sms messages. Also it can "reply" to the email with the retrieved information with mail().
Just my question: Why are you posting in the Kannel group if you have an email problem? No where you state where you want to send an sms message. == Rene -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Waleed Zubair Sent: vrijdag 2 juli 2010 16:08 To: [email protected] Subject: RE: SMS TO EMAIL and EMAL TO SMS Thanx rene kluwen for replying.i m little bit confused.let me tell you my problem in detail. I have received an email, in which there is a query in the body of that email.i want some sort of gateway(e.g procmail) which would initiate a php script and that gateway(e.g procmail) should also pass some parameters from the email's body to the php script.and then that php script after resolving the query (as passed from email) from the database should sent the appropriate required information back to that gateway (e.g procmail),and then that gateway (e.g procmail) would be able to send that retrieved information back to that particular email id. is the above stated problem can be handled by procmail?if no, then do u know any other gateway,which can counter this problem? Once again thanx for ur cooperation. Rene Kluwen wrote: > > This is more of a question that belongs in the procmail mailing list than > here. > > The basic idea is to catch an email with procmail and feed it through a > script in the language of your choice (e.g. perl). > This script then makes a connection to smsbox or sqlbox sending a message. > > == Rene > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Waleed Zubair > Sent: vrijdag 2 juli 2010 11:57 > To: [email protected] > Subject: Re: SMS TO EMAIL and EMAL TO SMS > > > > Hi, > I am quite new to kannel, although i have configured kannel with sms and > database with php scripts.Now what i want is to use kannel for receiving > an > email (SMTP format) and retrieve information from database as required or > mentioned in the email.I was reading in this forum that i can use > procmail. > I tried to understand how procmail would be used , but failed. > Can you please help me out in this matter??? > Thanks in advance.. > > > > > > > Stipe Tolj wrote: >> >> Tharanga schrieb: >>> Hi folks, >>> >>> I need to redirect all my SMS to an specific email address and also >>> reply >>> to >>> that email should be delivered to that particular mail box. is there any >>> opensource tool for that. or any plugin to kannel ? >> >> consider using procmail as a "bridge way" from SMTP<->Kannel. I have no >> setup for procmail, but it should be considerable easy to setup. For >> SMTP->Kannel you would trigger the sendsms HTTP interface of smsbox. And >> for MO you would call a sms-service URL that hits the SMTP interface >> again. >> >> Of course this works very well when configured, but is not for high-load >> messaging. In that case you would need to glue i.e. Exim or your >> relevant MTA more directly to Kannel. >> >> Stipe >> >> ------------------------------------------------------------------- >> Kölner Landstrasse 419 >> 40589 Düsseldorf, NRW, Germany >> >> tolj.org system architecture Kannel Software Foundation (KSF) >> http://www.tolj.org/ http://www.kannel.org/ >> >> mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org >> ------------------------------------------------------------------- >> >> >> > > -- > View this message in context: > http://old.nabble.com/SMS-TO-EMAIL--and--EMAL-TO-SMS-tp16043591p29054429.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > > > > > > -- View this message in context: http://old.nabble.com/SMS-TO-EMAIL--and--EMAL-TO-SMS-tp16043591p29056808.html Sent from the Kannel - User mailing list archive at Nabble.com.
