Clivern/Imap

PDF messages without body

LMNYX opened this issue · 3 comments

LMNYX commented

When i read with pdf attachment and body text in $message->body()->getMessage() i see only %PDF (a lot of special symbols) %EOF. That's all. No body text.

LMNYX commented

also with any attachment
image

do you face a problem with message body, attachment or both
what if you store the attachment, is it corrupted?

$attachments = $message->attachments();
foreach ($attachments as $attachment) {
    // Store attachment in provided path
    $attachment->store(__DIR__ . '/');
}

I guess it is something to do with encoding

No activity so i am closing this issue, @JackGlow feel free to reopen or create another.