Page 1 of 1

php mail function

Posted: Wed Jan 05, 2005 9:54 pm
by paqman
my problem is when I enter a name in the "From: " (instead of an email address) some people's email servers consider it junk mail and delete it. Is there some way to have it be from an email address but display a name? (not whatever@here.com but John Doe)

Thanks :)

Posted: Wed Jan 05, 2005 9:56 pm
by John Cartwright

Posted: Wed Jan 05, 2005 9:59 pm
by feyd
from a quick look..

Code: Select all

From: John Doe <foo@bar.org>

Posted: Thu Jan 06, 2005 10:21 pm
by paqman
feyd wrote:from a quick look..

Code: Select all

From: John Doe <foo@bar.org>
Thats exactly what I need. Thanks!