ID:               28038
 Comment by:       issalys at hotmail dot com
 Reported By:      jordi at jcanals dot net
 Status:           Open
 Bug Type:         Mail related
 Operating System: win32
 PHP Version:      5CVS, 4CVS (2006-01-06) (cvs)
 New Comment:

hi i have de same problem and i fix it in that way:

$headers = "From: " . $fm_snd['from'] . "( Some guy)\n"; 


it work perfect :p byeeeeeeee



Hola tuve el mismo problema y lo solucione asi 

$headers = "From: " . $fm_snd['from'] . "( quiern sea)\n"; 


funcionoooooooooooooo :p byeeeeeeee


Previous Comments:
------------------------------------------------------------------------

[2007-06-28 00:38:36] [EMAIL PROTECTED]

It's propably not complicated to fix but there just isn't anyone with
enough interest to do it. Feel free to provide a patch and perhaps
someone might catch on it. Or pay someone serious cash to fix it..

------------------------------------------------------------------------

[2007-02-23 14:24:43] business at ziu dot de

This bug is now open since THREE YEARS. And still the version of today
(5.2.1) can not talk to SMTP servers as it should do.
This can not be so complicated to fix.

------------------------------------------------------------------------

[2006-04-14 11:55:21] [EMAIL PROTECTED]

See also bug #37073

------------------------------------------------------------------------

[2006-01-06 03:17:07] [EMAIL PROTECTED]

The case reported in bug #35013 should be fixed now in CVS.
(the others are NOT!)


------------------------------------------------------------------------

[2005-11-10 15:57:04] Ruben at e-builds dot com

The sames happens when using mail() with the 'From' part of the extra
headers.

php uses this Header From part (and others for RPath etc..) for the
"MAIL FROM" address in the SMTP protocol, at least if you didn't specify
the sendmail_from setting in php.ini.
But for one reason or another, php (I thínk it's php) wraps this part
in "<" and ">" again!

The workaround is not to use the special format -User <[EMAIL PROTECTED]>-,
but just the e-mail address "[EMAIL PROTECTED]".  Of course then php scripters
who like a professional approach and want to use this special format,
..well..they can't, at least not per php script.


I use a Domino SMTP server on Win32.
P.S. I saw several bugs of the same kind allover.  Some are even
wrongly closed, I presume.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/28038

-- 
Edit this bug report at http://bugs.php.net/?id=28038&edit=1

Reply via email to