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';
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

php file erros / need help please
Hello

Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i trye

for loop without same $i digits?
Hi,

Can some guru please advise how can I accomplish this with a simple for loop ?

I

Upload Code Help
Hi everyone I need some help with a bit of code ive been working with for a while. I am completely s

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

array_map() probably obvious mistake
The code below is part of a class to escape strings, but should also accept an array, using array_ma

file downloaded can't be read !!
<?php
$fileName = 'mypic.jpg';
$mimeType = 'image/jpeg';
header('content-dispositio

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

simple php table loop
Hi all,

I've the following code

<?php // Create category options

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

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