I have been trying to find a way to change the name of the senders email when using the mail() function. I would like it to change the senders email address to read something like "Company Name Inc".
The problem is when I set the $from = "From: Company Name Inc"
I get the email with the from being: Company@ourserver.comName@ourserver....urserv er.com
is there anyway I can change this?
I have found that if I change it to CompanyNameInc@theCompany.com
it sends the email with the from being:
I would really like to have it read: "Company Name Inc" period I want to remove the @whatever.com all together.
Thanks for your help