RE: [PHP] Imap function problems

From: Date: Thu, 15 Jan 2004 21:51:43 +0000
Subject: RE: [PHP] Imap function problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174717@lists.php.net to get a copy of this message
The contents of the mail file are located below -----Original Message----- From: Jason Wong [mailto:php-general@gremlins.biz] Sent: Thursday, January 15, 2004 3:42 PM To: php-general@lists.php.net Subject: Re: [PHP] Imap function problems On Friday 16 January 2004 05:19, Daryl Meese wrote: > I am having some strange problems -- code I tested a while back has broken > and I'm not sure why. > > I am receiving an email with an attachment (testing.doc). when I get the > message I call imap_fetchstructure then check the length of the parts > array, which is one. It used to always be (at least) two if their were > attachments and zero otherwise. Are you sure that your message is a properly formatted one? Not one that is designed to exploit flaws in Outlook (and siblings)? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ From darylm@magiasoftware.com Thu Jan 15 14:21:01 2004 Received: from desktop (commons10k1.mo24.107.117.24.charter-stl.com [24.107.117.24]) by magia1.tempdomainname.com (8.12.10) id i0FLKx8O088767 for <teststor@magiasoftware.com>; Thu, 15 Jan 2004 14:21:00 -0700 (MST) From: "Daryl Meese" <darylm@magiasoftware.com> To: <teststor@magiasoftware.com> Subject: testing again Date: Thu, 15 Jan 2004 15:21:46 -0600 Message-ID: <IOEJLANGDACHDLIGKLLEKEADCCAA.darylm@magiasoftware.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0013_01C3DB7B.4A12C3F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3DB7B.4A12C3F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit testing email body ------=_NextPart_000_0013_01C3DB7B.4A12C3F0 Content-Type: application/msword; name="testing.doc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="testing.doc" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAIQAAAAAAAAAA EAAAIwAAAAEAAAD+////AAAAACAAAAD///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// // chopped out for brevity AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAA== ------=_NextPart_000_0013_01C3DB7B.4A12C3F0--

« previous php.general (#174717) next »