michaelsanford
Translator, Web Developer
On my new site I have a little form that lets the user send SMS (Short Message Service aka cellular text message) to my wireless device.
I would ideally like to be able to have the user not enter an email address, and just a name (like MSN's Mobile Device feature does).
The problem is that I use PHP's mail() function to send the message, and it always appends the host's domain name to the "From: " header if it is not a qualified email address.
Since my host is XRackHosting, sticking "@xrackhosting.com" into a message that only carries 140 characters is a problem.
Any work-arounds I can try? I presume my only recourse is to edit php.ini (which I can't do); I also assume MSN has a proprietary system for sending SMS messages other than simply emailing them?
I would ideally like to be able to have the user not enter an email address, and just a name (like MSN's Mobile Device feature does).
The problem is that I use PHP's mail() function to send the message, and it always appends the host's domain name to the "From: " header if it is not a qualified email address.
Since my host is XRackHosting, sticking "@xrackhosting.com" into a message that only carries 140 characters is a problem.
Any work-arounds I can try? I presume my only recourse is to edit php.ini (which I can't do); I also assume MSN has a proprietary system for sending SMS messages other than simply emailing them?