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

array_diff weirdness
I'm using the following bit of code

$diff = array_diff($pids, $pidlist);
$diff = array_va

help with calculations on a flat text file
hello,
I have this code below that is attached to a flat file like this:
Email:LastName:FirstN

LIMIT $start, 10... how to pass last value queried into next page with GET??
Ok I know how to display the first or last 10 results of a query...

$result = mysql_query(&q

read integers that returns a negative or prints the average
Im trying to finish this homework assignment by tommarow afternoon and I keep getting stuck.
Wr

Help with echo()
I'm having some problems with this code:

Code: echo '
<A HREF="jav

Call to undefined function mysql_fetch_accoc()
New to php/mysql coding. What's wrong with this sequence, or am I
just not seeing to obvious?

Strange HTML Tag?
I recently noticed some odd HTML appear in some of the websites I host. Not all of them are run on a

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

SAP FICO learning materials
Hi all,
I am new to this world of SAP FICO. I have taken training on SAP FICO, but was wonderin

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