ID: 28038 Comment by: jitendra1212 at gmail dot com Reported By: jordi at jcanals dot net Status: Open Bug Type: Mail related Operating System: win32 only PHP Version: 5CVS, 6CVS (2008-10-24) New Comment:
send how mail ? Previous Comments: ------------------------------------------------------------------------ [2009-04-06 14:29:44] php at shitware dot nl I'm no C expert, but wouldn't this provide a quick fix: instead of: snprintf(Buffer, MAIL_BUFFER_SIZE, "RCPT TO:<%s>\r\n", token); use: snprintf(Buffer, MAIL_BUFFER_SIZE, token[(strlen(token)-1)] == ">" ? "RCPT TO:%s\r\n" : "RCPT TO:<%s>\r\n", token); for EVERY use of token (including RPath)? (plain e-mail addresses are still placed between <...>, formatted e-mail addresses get in the transaction unaltered) I tried setting up the Windows build environment to test this, but got lost in the different how-to's ... ------------------------------------------------------------------------ [2009-03-12 19:49:06] feamsr00 at feamsternet dot net exact same here *bump* PHP 5.2.8 (cli) (built: Feb 4 2009 17:55:55) Microsoft Windows XP [Version 5.1.2600] ------------------------------------------------------------------------ [2009-02-24 23:25:22] mark at lbisat dot com By modifying the following in PHP.ini [mail function] sendmail_from = em...@domain.com It fixed the issue for me on Windows 2003 Server SP2. ------------------------------------------------------------------------ [2009-02-19 19:39:06] alexcomboy at hotmail dot co dot uk It does not work with this either: Windows XP SP2 or SP3, IIS 5.1, PHP 5.2.8 ------------------------------------------------------------------------ [2009-01-19 21:20:39] abba000 at o2 dot pl 4 years have passed and nothing... What the hell? This is really important! Anybody knows how to fix it? ------------------------------------------------------------------------ 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