Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: help smsgateway.me Date: Sat, 21 Feb 2015 09:58:07 +0100 Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net MsH9NsbbhOeCauCyJGIkSQSKoFz63pGRNBb7Ry/Q7N+aV+EtBx Cancel-Lock: sha1:bThlNBDKn3lUkRS1IhdNude2AEg= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: Xref: csiph.com comp.lang.php:14951 On 21/02/15 07:44, Adnan Shiekh wrote: > Hello everyone, > > Thanks to all for reply , i have decided to explain my problem in detail, basically i have write a web service to send and receive sms using my android phone and if anyone can reply then my application auto reply to user, i am firstly use Smssync for this purpose but through this i can't message send successfully then i am decided to use smsgateway.me but through this api i am successfully send sms but not receive messages ,api claims to support receive messages but i have not done, if anyone can help me in this case and know better tools for this purpose please told me.... i have used in initial days EnvayaSms but i have not successfull to send sms using Envaya... thanks in advance > Your web service has to ask the API to see if there is new message, you have an example at https://smsgateway.me/sms-api-documentation/messages/fetch-single-message If you don't do this every X minute, you will never know that you got a message. I recommend you to use a cron job for that part, so you need to write a cli script and run it. The phone will not in a magical way send a message to your script. -- //Aho