Many of the emails that are sent to me don't contain the senders email in the "From". Some will say something along the lines of....
From: Company Name To: myemail@myemail.com
Subject: This is an email
.............
when I look in properties it reads like this:
"Company Name" <sendersemail@CompanyName.com>
I'll try to be more clear about what I am trying to do, (maybe I was unclear or I'm just trying to do somthing impossible)
In my mail() function on my webpage I would like the from address in the email to read (once the client recieves the email):
From: Company Name To: client@clientemail.com
Subject: This is an email
Currently this is happening:
here is the code for the from variable:
$from = "Company Name";
here is the output when I recieve an email sent from the page:
From: [email]Company@myServerAddress.com;Name@myServerAddress.com[/email]; To: myemai@myEmail.com
I would like to know how to change the $from = "Company Name"; so that in the recievers email it still reads:
From: Company Name.
Maybe this will help or help confuse