ID:               35013
 User updated by:  php-louis at steelbytes dot com
 Reported By:      php-louis at steelbytes dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Mail related
 Operating System: win2003
 PHP Version:      5.0.5
 New Comment:

still does it.  what did you change? anything? or were you just wanting
to findout if it happens in the curretn snapshot as apposed to last
releasse ver?


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

[2005-10-31 01:27:00] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



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

[2005-10-29 03:46:45] php-louis at steelbytes dot com

Description:
------------
when mail() is passing the headers to get the sender's email address
and the headers are similar to the following:
  To: blah
  From: [EMAIL PROTECTED]
  AnotherHeader: value
it retrieves " [EMAIL PROTECTED]" as the senders email, instead of
"[EMAIL PROTECTED]".  this is a problem when sending email to yahoo, as
the MAIL FROM smtp command that mail() generates looks like the
following:
  MAIL FROM:< [EMAIL PROTECTED]>
instead of 
  MAIL FROM:<[EMAIL PROTECTED]>
or
  MAIL FROM: <[EMAIL PROTECTED]>
and yahoo rejects.


Reproduce code:
---------------
mail('[EMAIL PROTECTED]','test subject','test body','From:
[EMAIL PROTECTED]');

Expected result:
----------------
yahoo rejects with the following
  501 Syntax error in parameters or arguments


Actual result:
--------------
n/a


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


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

Reply via email to