[SOLVED] php mail function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
paqman
Forum Contributor
Posts: 125
Joined: Sun Nov 14, 2004 7:41 pm
Location: Burnaby, BC, Canada

php mail function

Post 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 :)
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

from a quick look..

Code: Select all

From: John Doe <foo@bar.org>
User avatar
paqman
Forum Contributor
Posts: 125
Joined: Sun Nov 14, 2004 7:41 pm
Location: Burnaby, BC, Canada

Post by paqman »

feyd wrote:from a quick look..

Code: Select all

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