You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foreach ($attachments as $attachment) {
$attachment->saveToDirectory($attachmentPath);
}
Now and then when I call saveToDirectory method I get the following error
ErrorException: imap_savebody(): stream filter (convert.base64-decode): invalid byte sequence
I can't solve the problem
The text was updated successfully, but these errors were encountered:
I have the following code
$attachments = $message->getAttachments();
$attachmentPath = "storage path";
foreach ($attachments as $attachment) {
$attachment->saveToDirectory($attachmentPath);
}
Now and then when I call saveToDirectory method I get the following error
ErrorException: imap_savebody(): stream filter (convert.base64-decode): invalid byte sequence
I can't solve the problem
The text was updated successfully, but these errors were encountered: