[dev] Getting attachments

Claus Ruete claus.ruete at student.uni-tuebingen.de
Sun Jan 12 17:24:27 UTC 2014


Hi,

i've been trying to get a list of attachments out of a Horde_Mime_Part object, still, I can't get it to work, as I'm looping through all subparts but $part->getDisposition() never returns anything.

I thought i'd get back something like "ATTACHMENT" but it just returns null, so I tried finding out where the content-disposition header can be found in the object by just using print_r($part) but it didn't show up :(

What am I doing wrong?

Thanks in advance :)

C.


More information about the dev mailing list