users see my SMS messages as coming from '1010100001' - php

In my application, I ask the user to enter their cell and select their provider. I append the provider's email and create the message and fire via php.mail()
The problem is that no matter what the header info is, the message comes from '1010100001' on some phones (like AT&T and the iPhone). When testing on my Verizon phone, I get the proper email address as the sender.
Any idea how I can send a clearer message?

Your problem is that you're not actually sending SMS messages, you're sending email messages and then trusting the carrier's email-to-sms gateway to "do the right thing."
To have better control over the SMS message, send the SMS message directly. For low volume, try Twilio SMS Service

Related

How to Send SMS through PHP

create and import contacts and groups. send a single SMS, or send
bulk SMS to a group or multiple groups. connect to any SMS gateway
with minimal configuration. customize your SMS or email. add a link to your SMS
and email.
The message is composed using a web application that is stored and executed on a HTTP server and then sent through the internet ("the cloud") as an email message.
The email is received by a Short Message Service Gateway (SMS Gateway), which converts the message from an email message to a SMS message.
The SMS message is then handed to a Short Message Service Center (SMSC), which is a server that routes data to specific mobile devices.
The message is finally transmitted over the wireless network to the recipient.
Most wireless networks have a SMS gateway through which email messages can be sent as text messages to a mobile device. This is nice, because, from a developer's standpoint, it is generally free—however, it is of course not a free service for the end user. Fees still apply to the recipient of the message and messages sent via email will be billed as a non-network text message
we can use php mail() function to send sms but you have to purchase the SMPP frome network provider
you can use gateway like way2sms gateway for php send sms through php
easy use a sms getaway, we use https://developers.messagebird.com/docs/sms-messaging for a phone validation

Can Mandrill send bounced mail information to sender email

I'm building a service for a company. The users of the service will send survey links to a list of email addresses. I'm going to use Mandrill as an email engine for this. The service is built using Laravel.
The users will feed a list of email addresses to the service that will generate emails (unique for every email address) and send them through the Mandrill API.
BUT, of course there will be errors made by the users. They will feed some bad email addresses in and emails will bounce. I need to find of way of notifying the users of the service that some emails have bounced.
Is there a way to get Mandrill to send a list of bounced emails to the sender or reply address?
Me as a developer has the Mandrill account of course, but I'm not interested in the bounce information - that has to go to the users of the system. So they can take action and correct the errors.
Thank you.
I see from Mandrill API that it is possible to get the status of sent e-mails with call /exports/activity.json as described in https://mandrillapp.com/api/docs/exports.JSON.html#method-activity
If you get any bounced e-mails from there then you can manually send the corresponding messages to the users who you want to.

When sending an sms, is every sent sms assigned a unique identifier?

I am making an sms application and i am very interested in delivery reports.I want to send an sms using available http gateways for android and i have settled on ozeki smpp gateway android app which can be viewed here http://www.ozekisms.com/index.php?owpn=785
However i am wondering,when i send an sms then send another one with the same message and the message is sent to exactly the same recepient,how will i know which sms was delivered?.
When sending an sms, is the sms assigned a unique identifier such that i can tell two sms apart by just viewing delivery reports even though the sms are identical in message and recipient?.

Any way to direct 'returned' emails for various errors?

We manage a website which gives agents the ability to enroll members across the country. At times, the member or agent will enter a bad email address during the enrollment process and important PDF'd information cannot be delivered to the member.
Similarly, an agent may try and recruit a sub-agent and have the same issue.
Is there anyway to automatically redirect returned emails (Delivery Status Notification (Failure)) to the responsible party instead of to our primary email?
i.e. Agent 1 recruits Agent 2. An email is attempted to send from recruit#domain.com but the address for Agent 2 is invalid. The system automatically recognizes the message type, formats and sends Agent 1 a note saying the email he/she entered was bad.
Note: I am using Google Apps Standard for all of our mail delivery currently while our platform is built on php and mysql.
make a special email for example "recruit-system#domain.com" and send every mail from this account. after sending a recruiting mali via that account, make shure that you save the destination e-mail adress in your database connected with the according agent who sent that mail so that you can determine who sent that email afterwards. make shure this account is only being used by your app. then make a cronjob for a php script that connects via smtp to that account and let it check out if there is any mail that returned. If there is any email look from where that mail came and look it up in your database and send the notification to the according agent. that's how i would do it.

gmail to sms from my application

Does anyone know how can i send a sms messsage when e-mails are arriving in a gmail account?
I know some PHP, C/C++ and C#, and I plan to read the new message using POP3. The problem is that I don't know how can I send a SMS message to a mobile phone. Do I need a SMS server?
can you give me some advices?
you need to register with and buy credit at some bulk SMS gateway with API. personally, i would recommend: http://www.clickatell.com/
which allows to send SMS via email, HTTP/GET/POST, REST, XML etc.
Many cell carriers have the ability to send SMS messages to an email address (ie yourphonenumber#telus.com). If you're sending to a specific mobile phone (for keeping an eye on your website, say), this would be something to look into, because it's free and simple. For the general case of sending an SMS to any mobile phone, that's somewhat more complicated. You can either hook into an SMS gateway (such as clickatell, as dusoft mentions), or you can attach a GSM modem to your PC and send commands through it.

Categories