#22962 [Com]: mail-function uses only \n to seperate fields To & Subject
| From: | om at insign dot ch | Date: | Wed, 14 May 2003 06:17:21 +0000 |
| Subject: | #22962 [Com]: mail-function uses only \n to seperate fields To & Subject | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39604@lists.php.net to get a copy of this message | ||
ID: 22962
Comment by: om at insign dot ch
Reported By: uroeder at gmx dot net
Status: Closed
Bug Type: Mail related
Operating System: Linux
PHP Version: 4.3.1
New Comment:
Great, thanks & regards from Zürich :-)
Previous Comments:
------------------------------------------------------------------------
[2003-05-11 13:53:40] pollita@php.net
What edink's last comment didn't mention is that I reverted mail() back
to its original behavior. No need to worry about comming up with
examples. 4.3.2's final release will do just what you want.
------------------------------------------------------------------------
[2003-05-11 10:40:15] om at insign dot ch
pollita: I can't post any example yet, but I'm now sure there is a real
problem: an "original" php-4.3.2rc2 is broken, while a php-4.3.2rc2
compiled with the mail.c from 4.3.1 is working fine.
The used class to send the mails is an old version (1.3.4) of the HTML
Mime mail by Richard Heyes (http://www.phpguru.org/mime.mail.html).
We'll try if it works better with the current version, but in every
case, there _is_ a problem with the current mail.c.
regards,
Olivier
------------------------------------------------------------------------
[2003-05-07 07:15:34] edink@php.net
This bugfix is wrong. \r\n is used in headers in SMTP communication
which mail() uses on Windows. Since Unix version of mail() pipes output
to mta direcly \r\n may confuse it and as we have seen from several
reports it breaks mail() functionality.
------------------------------------------------------------------------
[2003-05-06 18:59:30] pollita@php.net
Pasting some headers (or entire message content) would be a big plus.
The fix applied here should not adversely affect Outlook, but it's
worth some investigation.
------------------------------------------------------------------------
[2003-05-06 16:28:01] om at insign dot ch
Hi,
can it be that the bug you fixed last month
( http://bugs.php.net/bug.php?id=22962 ) broke
something in
the mail() command ?
We have a kind of CMS (www.icms.ch) with a mailclass which sends
mails with attachments: with php 4.3.1 it works fine, with 4.3.2rc2
it "looks" fine too, but outlook users can't read the mail
anymore: pretty wired... (no changes others than php version)
I'll make some more tries tomorrow, but maybe you will have
an idea before :)
Regards from Switzerland,
Olivier
------------------------------------------------------------------------
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/22962
--
Edit this bug report at http://bugs.php.net/?id=22962&edit=1