I have setup an ecommerce site for a customer and we set it up to notify them via text-messages to their phone every time a new order is placed or something on the site needs attention. It works great, however, the from "number" in the text message is always some random 10 digit number.
I'm wondering if there is a way to make this look like it is coming from a specific phone number.
$from_name = 'mydomain.com';
$from_email = '8882019987'; // From Phone Number
$sendto = $txtnum;
$orderno = $orderNum;
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$from_email."\r\n";
$headers .= "Reply-To: ".$from_name." <".$from_email.">\r\n";
$headers .= "X-Mailer: PHP v".phpversion().$eol;
$subj = "New Order: $orderNum";
$body = "New Order on the Online Store";
mail($sendto, $subj, $body, $headers);