|
Ryan E - 2010-02-16 18:52:57
This code seems to check the 'parts' array to see the length. I receive an email that clearly has a small video attached, yet, when I print out the parts array, it shows 0, thus this code doesn't run. I am contacting an exchange server. In outlook, the same email just shows the video as an 'attachment' , but the video isn't in the body area of the email. Please let me know how to access these types of attachments.
Ryan E - 2010-02-17 22:46:32 - In reply to message 1 from Ryan E
I found what was causing it to not work.
In the line:
$structure = imap_fetchstructure($mbox, $jk , FT_UID);
I took out the last argument FT_UID:
$structure = imap_fetchstructure($mbox, $jk );
and now it works.
I don't have a 100% explanation for it, but another script i saw didn't have this FT_UID argument, so thats why I tried taking it out. This made me lose many hours!
|