# Swiftmailer unserializes

**URL:** <https://forum.mautic.org/t/swiftmailer-unserializes/5507>\
**Category:** General Discussion\
**Created:** [September 29, 2016, 5:28pm UTC](https://forum.mautic.org/t/swiftmailer-unserializes/5507 "2016-09-29T17:28:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![swip](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@swip](https://forum.mautic.org/u/swip)\
**Post date:** [September 29, 2016, 5:28pm UTC](https://forum.mautic.org/t/swiftmailer-unserializes/5507/1 "2016-09-29T17:28:19Z")

</div>

I had an issue where I had to modify the contents of the messages in the spool.  
  
Doing so was successful.  
  
  
  
However, when I re-triggered the cron (after making my changes), I received:

Code:

[SymfonyComponentDebugExceptionFatalThrowableError] Type error: Argument 1 passed to Swift\_Transport\_MailTransport::send() must implement interface Swift\_Mime\_Message, boolean given, called in /var/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php on line 169 

mautic:emails:send [–message-limit [MESSAGE-LIMIT]] [–time-limit [TIME-LIMIT]] [–do-not-clear] [–recover-timeout [RECOVER-TIMEOUT]] [–clear-timeout [CLEAR-TIMEOUT]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–]

  
There is no way to re-initiate the spool?

---

<div class="post-metadata">

**Author:** ![swip](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@swip](https://forum.mautic.org/u/swip)\
**Post date:** [September 29, 2016, 5:28pm UTC](https://forum.mautic.org/t/swiftmailer-unserializes/5507/2 "2016-09-29T17:28:19Z")

</div>

I had an issue where I had to modify the contents of the messages in the spool.  
Doing so was successful.

However, when I re-triggered the cron (after making my changes), I received:

[code] [SymfonyComponentDebugExceptionFatalThrowableError]  
Type error: Argument 1 passed to Swift\_Transport\_MailTransport::send() must implement interface Swift\_Mime\_Message, boolean given, called in /var/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php on line 169

mautic:emails:send [–message-limit [MESSAGE-LIMIT]] [–time-limit [TIME-LIMIT]] [–do-not-clear] [–recover-timeout [RECOVER-TIMEOUT]] [–clear-timeout [CLEAR-TIMEOUT]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–]   
[/code]

There is no way to re-initiate the spool?

---

<div class="post-metadata">

**Author:** ![haraldroine](https://avatars.discourse-cdn.com/v4/letter/h/ac91a4/32.png) [@haraldroine](https://forum.mautic.org/u/haraldroine)\
**Post date:** [November 22, 2016, 9:19pm UTC](https://forum.mautic.org/t/swiftmailer-unserializes/5507/3 "2016-11-22T21:19:43Z")

</div>

@swip did you figure this one out? Have the same issue.

---

<div class="post-metadata">

**Author:** ![swip](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@swip](https://forum.mautic.org/u/swip)\
**Post date:** [November 23, 2016, 10:46pm UTC](https://forum.mautic.org/t/swiftmailer-unserializes/5507/4 "2016-11-23T22:46:50Z")

</div>

> [@17375:@haraldroine](#):
>
> @swip did you figure this one out? Have the same issue.

No I did not. When I encounter this, I empty the spool folder and start over with sending.
