php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19720 mail() does not return with multipart message
Submitted: 2002-10-02 12:42 UTC Modified: 2005-09-02 08:41 UTC
From: dpfender at vantagep dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4CVS OS: Windows 2000 Server SP3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dpfender at vantagep dot com
New email:
PHP Version: OS:

 

 [2002-10-02 12:42 UTC] dpfender at vantagep dot com
The identically formatted, multi-part email message, part of which is a base64 encoded .gif image file, is properly sent with mail() on Linux systems but fails to return at all when executed on IIS 5 where php.exe is used.  The rest of the file in which mail() is executed is ignored and there is no error message from PHP.

There is no problem sending simple text messages, only with multi-part encoded messages.

This problem occurs either when using the local SMTP server or a remote SMTP server, as specified in php.ini.

Using Outlook Express to send email with attachments on the local SMTP server works successfully.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-02 13:00 UTC] sander@php.net
There were many improvements to the windows mail handling code - try a non-STABLE snapshot from http://snaps.php.net/.
 [2002-10-02 13:41 UTC] dpfender at vantagep dot com
I just tried an unstable version, php4-win32-200210012200.zip and got the same results as with the original version.
 [2002-10-03 05:19 UTC] mfischer@php.net
Please provide a full selfcontained script so we can reproduce this problem (or url with php source for download and the binary you want to send).
 [2002-10-03 10:26 UTC] dpfender at vantagep dot com
A complete test package for this problem is now avaiable at
URL: http://djp4.vpnewmedia.com/test_email_problem/test_email_problem.zip

Please view the readme.txt file to run the various test cases.
 [2005-09-02 08:41 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

There's already a request to rewrite the mail() for win32.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 17:01:29 2024 UTC