PHP 4.0 Bug #9741 Updated: MacOS / Skandinavian alphabets
| From: | wez@php.net | Date: | Wed, 14 Mar 2001 13:32:25 +0000 |
| Subject: | PHP 4.0 Bug #9741 Updated: MacOS / Skandinavian alphabets | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48889@lists.php.net to get a copy of this message | ||
ID: 9741
Updated by: wez
Reported By: jussi.ranta@nomini.fi
Status: Closed
Bug Type: Mail related
Assigned To: wez
Comments:
Sorry - I just re-read your report.
It sounds like a bug in your mail client rather than PHP - PHP just passes the mail on to sendmail,
and it is down to your mail client to parse and understand the message.
The rfc822 doesnt say anything about the order in which the headers should appear.
Can you try reading the message with other software?
--Wez.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-14 14:26:52] wez@php.net
This isn't a bug in PHP - yes you need to specify the correct MIME headers in order for your
email client to understand the content.
I suggest that you take a quick look at the mime RFCs.
You should be adding headers to you email that looks like:
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
You can use the headers parameter of the mail() function for this purpose.
I'm not too sure if that's the correct charset, but should get the right idea!
Hope that helps.
If you are sending these headers and the problem persists, please re-open this report.
--Wez.
---------------------------------------------------------------------------
[2001-03-14 11:13:32] jussi.ranta@nomini.fi
In order to print the skandinavian alphabets succesfully in
the mail message with mac, Mime-Version: 1.0 should be
announced in the first row of the message header:
Doesn't work sent with php 4.0.4
--------------------------------------------
Date: Wed, 14 Mar 2001 13:03:09 +0200
To: jussi.ranta@nomini.fi
Subject: Test subject ÂÂÂÂÂÂ
MIME-Version: 1.0
From: äöåööäöåööäöå <test@test.fi>
Status: O
--------------------------------------------
Works sent with Eudora/Mac
--------------------------------------------
Mime-Version: 1.0
X-Sender: juranta@mail.nomininetworks.com
Date: Wed, 14 Mar 2001 12:07:27 +0200
To: jussi.ranta@nomini.fi
From: Jussi Ranta <jussi.ranta@nomini.fi>
Subject: test äöåäöåöäöåäö
Status:
-------------------------------------------
mail() -function does not have a feature to change the
order of header information. Now Mime-Version 1.0 can be
announced after subject-line.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9741&edit=2