[nycphp-talk] IMAP_FETCHSTRUCTURE
Donald J Organ IV
dorgan at optonline.net
Wed May 9 17:28:34 EDT 2007
Note in this instance. And just so everyone on the list who is reading
this here is part of the print_r() of what is returned from
imap_fetchstructure:
[1] => stdClass Object
(
[type] => 3
[encoding] => 3
[ifsubtype] => 1
[subtype] => POSTSCRIPT
[ifdescription] => 0
[ifid] => 0
[bytes] => 395650
[ifdisposition] => 1
[disposition] => attachment
[ifdparameters] => 1
[dparameters] => Array
(
[0] => stdClass Object
(
[attribute] => filename
[value] => P
)
)
[ifparameters] => 1
[parameters] => Array
(
[0] => stdClass Object
(
[attribute] => name
[value] => P
)
)
)
csnyder wrote:
> On 5/9/07, Donald J. Organ IV <dorgan at optonline.net> wrote:
>
>> In this instance I am seeing some emails that the attachment filenames
>> are being truncated to the first letter so in stead of being
>> "file-name.txt" it shows up as "f"
>>
>
> Any chance that it's not an array sometimes, but a string?
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
More information about the talk
mailing list