I want to send sms from my website using my phone number in some time.
I'm trying Smssync (this is URL of application's website) but I din't know how to use it with php.
How can send sms from php using the Smssync app? Pleas help me.
Related
I want to Send SMS using flowroute API. I want to use PHP or Laravel Framework. I didn't get any good tutorial about it.
You know, that you just need to read and click a littlebit? The address you refered to, shows PHP-examples. On the target-github-page you can find the text "To work with the SDK, please read and follow the steps in the Flowroute PHP Library v2.". What is the problem?
I recently ran into the problem where I found out that Apple does not allow developers to send an email directly from code without user interaction. This causes some difficulties on my app as I need a code generated email which is in HTML format to be sent from my website server to myself, a third party and the user of the app. I have a few questions regarding this:
Is it acceptable to use a PHP script to send the emails for me by calling the script from code?
Will doing it this way have my app rejected from app store as I have read that bypassing user interaction in this regard will have the app rejected?
There are tons of apps on my iOS device that send emails without me having to interact except for pressing a "submit" button or similar. How are these apps doing it?
Basically, I also need the client to just press a button and 3 emails are sent in HTML format. The client is aware of an email being sent, but I need it in HTML format without the mail client showing up. I have the same app developed on Android and if I cannot have the same flow on Apple devices it kind of breaks look from android to ios. I know this is possible as I have apps on my phone that does it. My question is, are they using PHP scripts? If so, I can do that, but I want to be sure that my app will not be rejected from App Store.
You can use the API from your webserver for this. If you have for example an API path
/mail
You can send all the relevant information in as POST paramaters (e.g. "subject" : 'test mail') and from your webserver send the email with a mail function.
This is perfectly acceptable.
You can attach this webserver call to a UIButton to make it user-interactable:
#IBAction func mailToUser(sender: UIButton) {
// POST request to /mail with relevant information
}
I am currently working on my project like Parental control. I am trying to find a way , that if there is any procedure or way to send a notification from an android phone to a website whenever the android phone sends/receives an SMS and dials/receives a call. On website , a database will be maintained for these notifications.
You could send a get request or post request to a website.
Sending POST data in Android
Android - Sending HTTPS Get Request
Just some examples. You will probably be looking for a restful api. I haven't read this, but it looks viable:
http://www.9lessons.info/2012/05/create-restful-services-api-in-php.html
I think you want to maintain database, based on mobile even. You can create API call, that will send data to database while any activity happened on mobile. That api will store notification on DB.
On web you can create AJAX call that will check in DB, if any new notification come or not, if new record found you can show it on website.
This is what I think the best way to do so...
I have a website where people will book for Site visits.The Support Executive Confirms Site visit in the previous day. Once the Site visit is confirmed on the day on which site visit should happen the customer should receive SMS in morning telling that you have site visit today as requested.
I have Third party SMS Service
Now I Should Run a Code in PHP, MySQL which sends a SMS in the morning on which the site visit should happen
How can I Do that
Cron -> starts PHP-Script , PHP Script reads records from the SQL Table and checks if an SMS has to be sent, i assume its sms over mail, so you can use the integrated php function to send out mails to the sms gateway. For the guy confirming the visits, create another site with proper authentication where he can access the table and agree with the site-visits and anotherone for the customer to register for site visits
You need a cron job set to run in morning which will call your php file have code for looking in database for customers you need to send sms to.
Yo need to register to sum sms gateway provide 2 good one i know is clickatell and eztexting.
You can get there api for sending sms in there website.
Happy Smsing :D
Set a Cron Jobs in your Control panel.Try this link
http://www.devx.com/DevX/Article/39900/1954
If you would like to try an entirely different approach, check out:
Sent.ly - http://sent.ly
I am the founder of Sent.ly and thought maybe Sent.ly could help you out...
Sent.ly allows you to use an Android phone as an SMS gateway. So... you could just purchase a cheap Android phone ($150 or so) and set up Sent.ly on it and put a SIM in the phone.
By calling the Sent.ly API, the SMS would go out through the SIM in your Android phone. Sent.ly also has the option for scheduling an SMS for sending later which is your use case.
This also allows your PHP application to RECEIVE SMS in addition to just sending it out.
You can setup rules and if an incoming message matches a rule, it would be posted to a PHP page of your choice.
Since I am a great fan of stackoverflow, I would like to invite you to try Sent.ly. We would be happy to set you up with extra credits if you like. Just mail us at support#sent.ly
Cheers,
Varun
I have developed a system like this for use with some of my clients, and you can easily use it to integrate with your website or applications, through HTTP POST or WebServices (using PHP, C# or whatever).
If you are interested just leave an email or other contact information as a reply to this answer and I will gladly send you a sample code of how to send SMS, setting the desired time for sending messages, beyond other things, through our system.
You will not need to have any kind of cron knowledge and setup, it is all handled by our system, and the code is pretty simple and straight forward. You will only need to call our services upon site visit confirmation, setting the desired message sending time, and our system will do the rest.
Best regards.
Can any one explain how to achieve the below requirement.
Say user sends a message like eg: TDFEED Nice work ! to some common no like 5858.
I need to receive this text message to my server.
Manipulate the text and in reply i need to send an acknowledgement.
I need how to achieve this using php or any other language.
Thanks,
Lokesh.
Use Twilio (http://www.twilio.com/), I'm using them now to send SMS messages and their API for receiving them is very simple and easy to setup.
Docs: http://www.twilio.com/docs/quickstart/sms/hello-monkey
You can use this SMS software http://smsenabler.com. It can automatically post incoming SMS messages to the URL of your PHP script and send back reply SMS messages.
It uses a 3G/GSM modem (dongle) plugged in a computer to receive SMS. Such modems/dongles have a SIM card inside, therefore they have a phone number to which text messages can be sent.
You can use www.aql.com to receive SMS messages into your application. May work best in the UK...