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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lucas at anca dot com dot au
New email:
PHP Version: OS:

 

 [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: Mon Jun 14 12:01:24 2021 UTC