From Header Showing 'Unkown' In Hotmail? Why?


Posted on 16th Feb 2014 07:03 pm by admin

Code: $to = $row_GetID['email_addr'].',sales@mywebaddress.co.uk';
$subject = 'Thank you for your www.mywebaddress Order'.' ('.$row_GetID['ordernum_ID'].')';

$headers = 'From:web@mywebaddress.co.uk';
Did you know?Explore Trending and Topic pages for more stories like this.
if (mail($to, $subject, $body,$headers)) {
echo("<p>Email Sent To Customer Successfully!</p>");
} else {
echo("<p>Email To Customer Failed!</p>");
}?>
This Code Snippet works fine with normal email programs, such as outlook express but if i download the emails in hotmail, then the from header seams to display as Unknown? In the recieved Emails List, even tho if u open the email Itself, it does show the correct from email address? (ie our Website email address)

Is the code wrong in anyway?

Thanks
No comments posted yet

Your Answer:

Login to answer
252 Like 45 Dislike
Previous forums Next forums
Other forums

help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i

Problem with PHP code- simple contact form
Hi Folks,
I'm relativily new to PHP; I know HTML and CSS stuff but I have a problem- I have a co

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

PHP and Javascript
Hi Guys,

Im trying to load the contents of an html file into a text area for editing, this is

fwrite error
Hi All,
Does anyone know what is causing the error in this code?

Code: <?
$error

Get value from Select menu
Hi!

Have tried to find the solution on the web. Don't know if there is an easy one. A descrip

the problem with str_replace
$str="hahahahahahahahahahahahahaha";
$nn=1;
$str=str_replace('ha','MyGod',$str,$nn);

Error with Font and imagettfbbox
I keep getting an error that says "Warning: imagettfbbox() [function.imagettfbbox]: Could not f

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash