Re: Bug #14329 Updated: Mail() does not work

From: Date: Mon, 03 Dec 2001 21:16:59 +0000
Subject: Re: Bug #14329 Updated: Mail() does not work
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72385@lists.php.net to get a copy of this message
hi, >3) your script would most likely fail even if > > the mail server talked to you > > $to = "$name1 <$mail1>"; > > is wrong, you have to quote the real name: > > $to = "\"$name1\" <$mail1>"; This is not true. PHP parses out all mail adresses which then are put into the mail ENVELOPE. everything else doesn't influence the behaviour of who actually receives the mail (i.e. everything else goes into the mail BODY and all data there is just "voluntary", if you want to see it like that). quotes are nice, but they are parsed by the MUA (mail user agent = mail client) of the user and are just for displaying purposes NOT for delivering purposes. Kind Regards, Daniel Lorch

« previous php.dev (#72385) next »