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 ------------------------------------------ /* "There is hopeful symbolism in the fact that flags do not wave in a vacuum." --Arthur C. Clarke */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php