开发者

Problem using comma in from field in headers of php mail

开发者 https://www.devze.com 2023-03-25 13:43 出处:网络
How can i put commas in the \'From:\' field of the mail headers?? For example with \"From:Javier, My Site\" when i read the email sended with any mail client like outlook, in the From only appears Ja

How can i put commas in the 'From:' field of the mail headers??

For example with "From:Javier, My Site" when i read the email sended with any mail client like outlook, in the From only appears Javier@myinternalserverurl.com.

It cuts the from field by the comma... All the things that i found about 'From' field in php mails says that if you put commas automatically is treated like a list of mails.. any suggestion?

Thanks开发者_运维百科 in adevice!


"From: \"Javier, My Site\" <email@domain.com>" should work

0

精彩评论

暂无评论...
验证码 换一张
取 消