# Symfony error when sending emails

**URL:** <https://forum.mautic.org/t/symfony-error-when-sending-emails/10133>\
**Category:** Product Support\
**Created:** [January 16, 2018, 6:26am UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133 "2018-01-16T06:26:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamsdb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/williamsdb/32/43_2.png) [@williamsdb](https://forum.mautic.org/u/williamsdb)\
**Post date:** [January 16, 2018, 6:26am UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133/1 "2018-01-16T06:26:03Z")

</div>

Trying to send our newsletter this morning Mautic is showing that c. 3000 emails have been sent but they haven’t. There are still 3176 files in /tmp/spool/default (most of which have zero byte count) and when I try and run the following:

`/usr/bin/php /var/www/mautic/app/console mautic:emails:send`

I get the following error:

```auto
 [Symfony\Component\Debug\Exception\ContextErrorException]                                                            
  Catchable Fatal Error: Argument 1 passed to Swift_Transport_AbstractSmtpTransport::send() must be an instance of Swift_Mime_Message, boolean given, called in /var/www/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php on line 169 and defined   

```

This is Mautic v2.12.1 and PHP v 5.6.32.

I’m not sure what to do next in order to resolve this. Any one had similar or have any idea?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [January 16, 2018, 1:56pm UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133/2 "2018-01-16T13:56:21Z")

</div>

@williamsdb delete cache. delete spool folder ,and update schema… then try to send.

---

<div class="post-metadata">

**Author:** ![williamsdb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/williamsdb/32/43_2.png) [@williamsdb](https://forum.mautic.org/u/williamsdb)\
**Post date:** [January 16, 2018, 2:32pm UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133/3 "2018-01-16T14:32:11Z")

</div>

I know how to do the first two but how do I update the schema?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [January 16, 2018, 2:40pm UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133/4 "2018-01-16T14:40:11Z")

</div>

@williamsdb [wwww.yourmautic.com/s/update/schema](http://wwww.yourmautic.com/s/update/schema)

---

<div class="post-metadata">

**Author:** ![williamsdb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/williamsdb/32/43_2.png) [@williamsdb](https://forum.mautic.org/u/williamsdb)\
**Post date:** [January 16, 2018, 3:56pm UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133/5 "2018-01-16T15:56:06Z")

</div>

Thanks but the domain [yourmautic.com](http://yourmautic.com) doesn’t exist. Is that the correct link!

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [January 17, 2018, 1:14am UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133/6 "2018-01-17T01:14:20Z")

</div>

I mean to say… Your [mautic.com](http://mautic.com) = your mautic url

---

<div class="post-metadata">

**Author:** ![williamsdb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/williamsdb/32/43_2.png) [@williamsdb](https://forum.mautic.org/u/williamsdb)\
**Post date:** [January 23, 2018, 5:29am UTC](https://forum.mautic.org/t/symfony-error-when-sending-emails/10133/7 "2018-01-23T05:29:27Z")

</div>

Hi

Sorry for the delay in getting back to you but I have been away and haven’t been able to try this until now.

I have resent and all seems to be working. I think that the underlying issue was that the instance Mautic was on had run out of disk space.

Thanks for your help.
