Jump to content

imap_fetchstructure issues with attachment in exchange 2010 IMAP server


susee001

Recommended Posts

imap_fetchstructure is not returing information about attachments for certain e-mails after the mailbox is migrated to exchange 2010. Using IMAP protocol and was working fine until the migration from exchange 2007 to 2010. 99% of emails with attachments works fine, but few don't. I can replicate the issue when an attachment is sent from gmail accounts or some xerox devices to exchange 2010. The output of imap_fetchstructure (message has no body, only attachment) looks like below, as you can see, parts is returning null. I have tested it using imap-2006e and imap-4.7b libraries and produces same issues. Any ideas how to resolve the issue or debug this issue? Can also replicate the problem in Thunderbird 2.0.0.24

 

stdClass Object

(

[type] => 1

[encoding] => 5

[ifsubtype] => 1

[subtype] => MIXED

[ifdescription] => 0

[ifid] => 0

[ifdisposition] => 0

[ifdparameters] => 0

[ifparameters] => 1

[parameters] => Array

(

[0] => stdClass Object

(

[attribute] => boundary

[value] => AHNKAKBLDCDIDAGCDHGDAAAKACAK

)

)

[parts] => Array

(

)

)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.