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

IP question
ive got 2 ip addresses both global from same user how would i detect if they are local to each other

str_replace help
I am thinking str_replace is my only option to filter outputs from my database to convert them to sa

SAP Business Suite
Hi all:

Within the SAP Business Suite solution I would like to ask you the main differenc

quick question
Hi ..

i have a question
how do i set a var so it displays via an echo
Code: $logo = '&a

problem when runing a funciton
I am trying to connect to database using a funciton in a functions.php

<?php
funct

RFQ Configuration - can you make PLANT field an optional field in ME42
Is there a way to make the plant field on an RFQ optional in change mode (ME42)?

ClientScript.RegisterClientScriptBlock Issue
This is what I haveview plaincopy to clipboardprint?Protected Sub posrback_Click(ByVal sender As Obj

How to login with SAPCPIC userid
I have changed the Password for SAPCPIC in Development Server for 000,001 and 100 client.
But w

Problem with Sending Mail by PHP
hello all,
I m new to php, can u plz provide me the code to send mail by php having CAPTC

mysql select query problem
how can i select multiple fields from multiple table in one query like

i have table name t1 a

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