Date: 03/14/01
- Next message: aaron.webb <email protected>: "[PHP-DEV] PHP 4.0 Bug #9727 Updated: Unable to use @ in URL passwords with fopen()"
- Previous message: wez <email protected>: "[PHP-DEV] PHP 4.0 Bug #9741 Updated: MacOS / Skandinavian alphabets"
- Next in thread: jussi.ranta <email protected>: "[PHP-DEV] PHP 4.0 Bug #9741 Updated: MacOS / Skandinavian alphabets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 9741
Updated by: wez
Reported By: jussi.ranta <email protected>
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 <email protected>
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 <email protected>
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 <email protected>
Subject: Test subject ‰ˆÂˆ‰ˆÂˆ‰ˆ‰ˆÂ‰ˆ‰
MIME-Version: 1.0
From: äöåööäöåööäöå <test <email protected>>
Status: O
--------------------------------------------
Works sent with Eudora/Mac
--------------------------------------------
Mime-Version: 1.0
X-Sender: juranta <email protected>
Date: Wed, 14 Mar 2001 12:07:27 +0200
To: jussi.ranta <email protected>
From: Jussi Ranta <jussi.ranta <email protected>>
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: aaron.webb <email protected>: "[PHP-DEV] PHP 4.0 Bug #9727 Updated: Unable to use @ in URL passwords with fopen()"
- Previous message: wez <email protected>: "[PHP-DEV] PHP 4.0 Bug #9741 Updated: MacOS / Skandinavian alphabets"
- Next in thread: jussi.ranta <email protected>: "[PHP-DEV] PHP 4.0 Bug #9741 Updated: MacOS / Skandinavian alphabets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

