Send SMS to a mobile port - php

I want to know the PHP coding for sending the messages to the mobile port.

Try searching first?
SMS from web application

To send sms from the php to the mobile you need to use any mobile solution provider like clickatell.com
They provides all the api details and sample code though which you can send sms.

Related

FCM - Send to all users/devices from a PHP script [duplicate]

I have created a small App that's able to receive Push Notifications from the FCM Console.
What i want to do now is to send a Push-Notifications to all Android Phones that got the app Installed using the API. And this is where i got completely lost.
Is there no way to send it to all Phones without collecting all the registration-ids?
Does this only work with the Console but not with the API?
thanx in advance
Sending a message to all the phones like what you do from the Firebase Web Console is only possible from the Web Console.
If you need this feature from the API you can submit a feature request:
https://firebase.google.com/support/contact/bugs-features/
Another possibility is to have all the client registering to a specific topic via FirebaseMessaging.getInstance().subscribeToTopic(topicName)
In this way you can send a message to the whole topic without collecting the registration-ids manually.

Google Cloud Messaging example

For a long time, I have been wanting to design a simple chat app based on Google Cloud Messaging. I know that the server supports a direct payload of 4kB.
I just need to connect to specific phones through this app, just for a small project.
Do I need a seperate PHP server to help in this matter? Or does mating GCM with Android API provide the necessary protocol of achieving this?
Can you please help me?
Thanks in advance
well you need one server not in php compulsory but in some other lang that gcm support like java
its flow is some thing like
1 app get the registerid for gcm server
2 send that to your server where it store it
3 when you want to send a message to other app your send that message to your server
4 your server send a request with the target registeration id to gcm server
5 gcm send the message to the target app

Ain't able to send email to facebook as a message from my PHP webservice

I am trying to send an email to some facebook account (example: my_username#facebook.com) via my PHP (core) web service. But, I am not able to receive the mail as a message in my facebook acccount. However, I am able to receive the mail through my gmail account.
As far as I know, we can check whether the mail is getting sent through my PHP script, but not it's successful delivery.
I have developed my webservice to interact between an Iphone app (with updated SDK for iOS 7) and my web server.
Now my questions are :
Do I need some specific headers or do I require some SMTP settings to sent mail to user's facebook message account?
Do I need to do something with the Iphone app?
Can I get the user's primary email address (which the user has used to signup on facebook) instead of my_username#facebook.com in Iphone app?
Precisely, do I need some change in my PHP script or in my Iphone app?
Please help me with your suggestions.
Thanks...!!!
You need to change your script. 99% certain it is a spam-filter at facebook that catches your email. PHP sent email using just the mail() function more often than not gets caught in spam filters.
There is a big rant (With usefull info on solutions) on the horror of sending email here

Email to Sms Sending Script using number#service_provider

I have use one service like sending sms to user like number#service_provider (123456#pcs.asa.com) and i am sending a message as email and working fine but getting this message one day or two day after not immediately and also i think this service use only in USA so any one have any idea why i am getting late response by this service.
I am using mine-construct to sending mail and i am using this site for getting provider info Service Provider Info
Have you tried looking into a reliable SMS gateway service such as Twilio? I have used their services and have found them to be very reliable as well as having various SDK's prebuilt for different programming languages.

Skype messages in PHP

Is there any way to send message to skype user without using COM?
No, there is only an API for ActiveX (COM).
This service allows you to send messages to Skype users via SMS. You can send SMS from your app using Twilio or ZeepMobile. Unfortunately, this requires you to either pay for each message or have an ad in it.

Categories