jamesiarmes / php-ews

PHP Exchange Web Services
http://jamesarmes.com/php-ews/
MIT License
567 stars 302 forks source link

How can I download ItemAttachment in.eml or.msg format? #545

Closed junngit closed 5 years ago

junngit commented 5 years ago

Version (e.g. 1.0, dev-master): PHP version: 5.6 Microsoft Exchange version: VERSION_2010

Description of problem:

download ItemAttachment

object(jamesiarmes\PhpEws\Response\AttachmentInfoResponseMessageType)#80 (6) { ["Attachments"]=> object(jamesiarmes\PhpEws\ArrayType\ArrayOfAttachmentsType)#81 (2) { ["FileAttachment"]=> NULL ["ItemAttachment"]=> array(1) { [0]=> object(jamesiarmes\PhpEws\Type\ItemAttachmentType)#82 (18) { ["CalendarItem"]=> NULL ["Contact"]=> NULL ["Item"]=> NULL ["MeetingCancellation"]=> NULL ["MeetingMessage"]=> NULL ["MeetingRequest"]=>

junngit commented 5 years ago

EWS save email attachment (ItemAttachment)