mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-22 11:16:03 +03:00
parent
6a6d909c17
commit
774cfb2648
@ -218,6 +218,9 @@ class Attachment
|
||||
$streamFilter = null;
|
||||
}
|
||||
|
||||
// Fix an issue causing server to throw an error
|
||||
// See: https://github.com/tedious/Fetch/issues/74 for more details
|
||||
$fetch = imap_fetchbody($this->imapStream, $this->messageId, $this->partId ?: 1, FT_UID);
|
||||
$result = imap_savebody($this->imapStream, $filePointer, $this->messageId, $this->partId ?: 1, FT_UID);
|
||||
|
||||
if ($streamFilter) {
|
||||
|
Loading…
Reference in New Issue
Block a user