ID: 17541 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Duplicate +Status: Feedback Bug Type: Mail related Operating System: windows 2000/xp PHP Version: 4.2.1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-08-23 22:08:37] [EMAIL PROTECTED] I guess this is the report this one is duplicate of: http://bugs.php.net/bug.php?id=18625&edit=1 ------------------------------------------------------------------------ [2002-06-03 05:08:12] [EMAIL PROTECTED] Of course it does. Internally, the $toaddr part is taken and put into RCPT TO: <$toaddr> which will expand to RCPT TP: <$name - $action <$toaddr>> in your case which is invalid (though I know qmail still handles it properly, exim may feel, don't remember sendmail). in 4.1.2, If the $header contained a TO, it used in the mail header. This was changed in 4.2.x and I re-introduced it in HEAD (snaps.php.net/win32, not the stable version). However, as Manuel pointed out on php-qa@, you're probably better off using some external code to handle your mail generation of you rely heavily on it. ------------------------------------------------------------------------ [2002-06-03 05:02:33] [EMAIL PROTECTED] Hmm, maybe so, but, if you put the $toaddr as "$name - $action <$toaddr>" it coms back with server error.. so.. thats even worse! ------------------------------------------------------------------------ [2002-06-02 18:21:49] [EMAIL PROTECTED] Marking as duplicate, the problem is that rfc822 style addresses are not support (in which case you just would use the $to field with the correct address). Damn, can't find the report of the other one. ------------------------------------------------------------------------ [2002-05-31 12:16:25] [EMAIL PROTECTED] Sadly, I cant move them to a non windows one, its bad enough Im not using ASP (they havent noticed that yet). However, I can confirm it worked fine in 4.1.2 as I tested this, but not in 4.2.0 or 4.2.1 Unfortunately for me, I work for a company who feel the need to love microsoft.. (personally, Id have it all running on a unix box, all files, Email, web.. the works.. but, sadly, if microsoft make it, they love it. So, I just dont get the choice. ------------------------------------------------------------------------ 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/17541 -- Edit this bug report at http://bugs.php.net/?id=17541&edit=1