Jump to content

PHP Mail and Commas


derbystar16

Recommended Posts

Hi,

 

I am having problems using PHP Mail. In the 'From:' part of the header, I have $name and <$email> along with some other stuff. The problem is that $name is always in the format of "Last, First" and when the email is sent, the recipient sees From: [email protected], First when  I just want them to see the original "Last, First"

 

Now I know it's the comma screwing it up but I don't want to get rid of that format.

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/39913-php-mail-and-commas/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.