Hi, I hope i am posting this in the right forum. ( mod. if in wrong forum, please move it) however, i have one or two sms sites. when messages are sent they show my server's default email routing info on the recipients phone. something like: what do i need to do so that the sender is shown as my domain name. something like ( the problem does not seem to be a functions of a specific sms script, since various secripts do this, but i am not sure.) thanks -siteseer
Hope this will help you: <?php $to = 'SMS@MySMSWebsite.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: ' . "\r\n" . 'Reply-To: ' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>
thanks let met tinker with it to see if i can figure out what to do with the above code, as i am not a programmer ,( am a "copy and paste" the code "progammer" )