php - ZF2 reading mail with attachments?? -


i can't find documentation reading email attachments. can suggest something?

i using zend\mail\storage\imap read emails text, cant find methods attachments.

ifyou can access attachments using mime/part package. can firstly test message multipart using $message->ismultipart() can iterate messages parts or access specific part using $part = $message->getpart($num); there can access type of part, determine if inline/attachements , on.

useful links:

see : http://framework.zend.com/manual/2.2/en/modules/zend.mail.attachments.html

see : http://framework.zend.com/manual/2.2/en/modules/zend.mime.part.html


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -