php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11349 Function not working as documented
Submitted: 2001-06-08 04:18 UTC Modified: 2002-05-15 06:16 UTC
From: lucas at anca dot com dot au Assigned: hholzgra (profile)
Status: Closed Package: Mail related
PHP Version: 4.0.5 OS: Windows NT4
Private report: No CVE-ID: None
 [2001-06-08 04:18 UTC] lucas at anca dot com dot au
Under WinNT the mail function does not work as documented.
It seems the version of sendmail in the win32 binary is not very compatible.

For example you cannot use a to address like
"Lucas Hale<lucash@anca.com.au>"
in the code "src/win32/sendmail.c" SendText assumes the to address is just a plain user@host address.

Same for RCPT TO

Also Cc: seems to cause all sorts of problems
First it scans case sentivtly for "Cc:" even though the example in the documentation has cc:
But once you change your string to Cc: it gets worse... 
I believe it is a crash but unsure, all I get is unknown error from server.

Bcc wont work at all...

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-22 18:29 UTC] hholzgra@php.net
windows mail code needs a rewrite
 [2002-05-15 06:16 UTC] mfischer@php.net
Cc: crash and Bcc: support have been added in CVS. Testers are welcome (snapshots are available form snaps.php.net/win32 )
 [2023-10-03 06:58 UTC] lucas at localweb dot com
The following pull request has been associated:

Patch Name: Migrate sdk files to http://downloads.php.net/~windows/php-sdk
On GitHub:  https://github.com/php/php-sdk-binary-tools/pull/5
Patch:      https://github.com/php/php-sdk-binary-tools/pull/5.patch
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC