diff --git a/src/MailgunSwiftTransport.php b/src/MailgunSwiftTransport.php index 299e193..e207f4b 100644 --- a/src/MailgunSwiftTransport.php +++ b/src/MailgunSwiftTransport.php @@ -6,7 +6,7 @@ use \Swift_MimePart; use \Swift_Transport; use \Swift_Attachment; -use \Swift_Mime_SimpleMessage; +use \Swift_Mime_Message; use \Swift_Events_SendEvent; use \Swift_Events_EventListener; use Psr\Log\LoggerInterface; @@ -93,12 +93,12 @@ public function ping() } /** - * @param Swift_Mime_SimpleMessage $message + * @param Swift_Mime_Message $message * @param null $failedRecipients * @return int Number of messages sent */ public function send( - Swift_Mime_SimpleMessage $message, + Swift_Mime_Message $message, &$failedRecipients = null ) { $this->resultApi = null;