From 9a90fc964b154f12f7d41bfa0dcd103fd40f66d8 Mon Sep 17 00:00:00 2001 From: Clivern Date: Thu, 7 Nov 2019 16:47:51 +0100 Subject: [PATCH] Fix attachment class name --- src/MailBox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MailBox.php b/src/MailBox.php index 838d04c..2df2db3 100644 --- a/src/MailBox.php +++ b/src/MailBox.php @@ -11,7 +11,7 @@ use Clivern\Imap\Core\Connection; use Clivern\Imap\Core\Exception\FolderNotExistException; use Clivern\Imap\Core\Message; use Clivern\Imap\Core\Message\Action; -use Clivern\Imap\Core\Message\Attachments; +use Clivern\Imap\Core\Message\Attachment; use Clivern\Imap\Core\Message\Body; use Clivern\Imap\Core\Message\Header; use Clivern\Imap\Core\MessageIterator; @@ -124,7 +124,7 @@ class MailBox $this->connection, new Header($this->connection), new Action($this->connection), - new Attachments($this->connection), + new Attachment($this->connection), new Body($this->connection) );