Reputation: 21
Is there a method to get the content of the Attachment to a message?
I have tried $message->getBody() to no avail.
Upvotes: 2
Views: 805
Reputation: 1756
You can use $message->toString()
which contains the contents of the attachments.
Upvotes: 1