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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
26 + 20 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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 )
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 01:01:24 2021 UTC