Servername Showing up on Text Message
Posted by: briandichiara
Posted on: 2006-06-21 23:01:00
I'm using PHP Mail function to send a text message to a cell phone. I get different results with different services, however with Verizon Wireless, the sender shows up as:
mydreamhostusername@myserver.dreamhost.com
anybody know the correct headers to use to fix this problem?
Here are my current headers:
$headers = "MIME-Version: 1.0n";
$headers .= "Content-Type: text/plain; charset=us-asciin";
$headers .= "From: RemindAlert <demo@remindalert.com>n";
$headers .= "X-Sender: <demo@remindalert.com>n";
$headers .= "X-Mailer: PHPn";
$headers .= "X-Priority: 3n";
$headers .= "Return-Path: <support@remindalert.com>n";
Thanks for the help.