ID:               18798
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows 2k Server SP2
 PHP Version:      4.2.3-dev
 New Comment:

You need to enable php_imap.dll in your php.ini, and use imap_mail().


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

[2002-08-14 08:01:55] [EMAIL PROTECTED]

Fatal error: Call to undefined function: mail_mail() in
d:\www\mail.publihost.com\htdocs\test.phtml on line 5

The imap_mail() function is not supported on the Win32 version.

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

[2002-08-13 20:27:09] [EMAIL PROTECTED]

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.



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

[2002-08-11 08:15:25] [EMAIL PROTECTED]

This is a limitation of the mail() command. Adresses in the form of
"Something <[EMAIL PROTECTED]>" are NOT support by the mail()
command.

The technical issue is that mail() does not parsing and while tlaking
to the MTA it simple puts the email addresse in '<' and '>' brackets
which will then look something like

"<Karel <[EMAIL PROTECTED]>>"

which of course doesn't work.

You have a two options to me knowledge:
1) trim down the $to field to the [EMAIL PROTECTED] part and use the From:
custom header
2) Try if the imap_mail() command works for you, afaik it does email
address parsing.

Reclassifying as documentation problem for mail() on win32. The page
should also mention imap_mail().

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

[2002-08-08 08:33:11] [EMAIL PROTECTED]

The problem remains I installed the latest snap:
- php4-win32-latest.zip - 08-Aug-2002 03:26 5.3M

If you like I can give you ftp-access to the server.
Then you can try the mail routine yourself.

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

[2002-08-08 08:25:40] [EMAIL PROTECTED]

Sorry, should have said that earlier: please try a _non_ STABLE
snapshot.

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

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/18798

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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to