php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21521 Read mail in Outlook
Submitted: 2003-01-08 12:05 UTC Modified: 2003-01-08 13:18 UTC
From: sirber at webernic dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.2.3 OS: Debian 3.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sirber at webernic dot com
New email:
PHP Version: OS:

 

 [2003-01-08 12:05 UTC] sirber at webernic dot com
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: berste01@webernic.com

Subject: test 2

To: sirber@webernic.com

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 <www-data@webernic.com>
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 13:18 UTC] pollita@php.net
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 php-general@lists.php.net

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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 05:01:26 2024 UTC