ID: 9741 Updated by: wez Reported By: [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] [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] [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: [EMAIL PROTECTED] Subject: Test subject ‰ˆÂˆ‰ˆÂˆ‰ˆ‰ˆÂ‰ˆ‰ MIME-Version: 1.0 From: äöåööäöåööäöå <[EMAIL PROTECTED]> Status: O -------------------------------------------- Works sent with Eudora/Mac -------------------------------------------- Mime-Version: 1.0 X-Sender: [EMAIL PROTECTED] Date: Wed, 14 Mar 2001 12:07:27 +0200 To: [EMAIL PROTECTED] From: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]