Skip to content

Storing .msg attachments to server #17

@GTCrais

Description

@GTCrais

I have a somewhat specific issue - the .msg email files I'm parsing sometimes have other .msg files as attachments. As I iterate over the attachments, calling ->copyToStream(...) on the .msg attachments fails (as opposed to calling the same method on, for example, a .pdf attachment, which works normally). Calling ->getData() on the .msg attachment returns a \Hfig\MAPI\Message\Message object. How do I save this .msg attachment (or the underlying Message object) as a physical .msg file on the server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions