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

(

)

)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.