ID: 21521 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Mail related Operating System: Debian 3.0 PHP Version: 4.2.3 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Please post scripting questions to [EMAIL PROTECTED] As to your specific problem, it is most likely cause by one or more newlines in your subject variable "$sujet" or in your $envelope. Some mail clients will attempt to accomodate such missends, others will work despite them (quasi-incorrect behavior mind you), and others will be strict about it. A good debugging trick you can use to find the location of the spurrious newline in Outlook is to right click on the message, select "Options", and view the header contents in the window which pops up. Previous Comments: ------------------------------------------------------------------------ [2003-01-08 12:05:33] [EMAIL PROTECTED] When using imap_mail_compose, and then sending the mail with: $mail = imap_mail_compose($envelope,$body); mail ($to, $sujet, "", $mail); In Outlook XP I recieve in the text area: Reply-To: [EMAIL PROTECTED] Subject: test 2 To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="-1463811584-1952143814-1042048373=:3444" X-Priority: 3 X-MSMail-Priority: High X-Mailer: webernic.com (PHP 4.2.3) Message-Id: <E18WKNq-0001vv-00@webernic> Sender: www-data <[EMAIL PROTECTED]> Date: Wed, 08 Jan 2003 12:52:54 -0500 ---1463811584-1952143814-1042048373=:3444 Content-Type: TEXT/plain; CHARSET=US-ASCII Content-Description: Message ata ---1463811584-1952143814-1042048373=:3444-- *** In Hotmail, the text is ok. Only "ata" is displayed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21521&edit=1