# error when processing mail queue

**URL:** <https://forum.mautic.org/t/error-when-processing-mail-queue/6438>\
**Category:** Product Support\
**Created:** [November 4, 2016, 12:12pm UTC](https://forum.mautic.org/t/error-when-processing-mail-queue/6438 "2016-11-04T12:12:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekap34](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@ekap34](https://forum.mautic.org/u/ekap34)\
**Post date:** [November 4, 2016, 12:12pm UTC](https://forum.mautic.org/t/error-when-processing-mail-queue/6438/1 "2016-11-04T12:12:22Z")

</div>

Hi everyone !  
  
i get an error when typping in consol :

Code:

php app/console mautic:mail:send

resulting in swiftmailer not sending any mails  
  
error:

Code:

[Swift\_IoException] Unable to open file for reading [http://127.0.0.1:8080/path/to/image/on/my/local/pc.jpg ...

  
i previously paste some code in the mail editor with path to local images and have tryed to send a test mail. But now i have updated all images links and cleared the cache and i always get the same error when typping

Code:

mautic:mail:send

in console.  
i've checked every campagns and mails and the image reffered in the error doesn't appear anywhere  
  
also when i click on "send test mail" and i trigger sending by typping

Code:

swiftmailer:spool:send

in console the emails are sent  
  
thanks' !

---

<div class="post-metadata">

**Author:** ![ekap34](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@ekap34](https://forum.mautic.org/u/ekap34)\
**Post date:** [November 4, 2016, 12:12pm UTC](https://forum.mautic.org/t/error-when-processing-mail-queue/6438/2 "2016-11-04T12:12:22Z")

</div>

Hi everyone !  
i get an error when typping in consol : `php app/console mautic:mail:send`  
resulting in swiftmailer not sending any mails

error:

`[Swift_IoException]
Unable to open file for reading [http://127.0.0.1:8080/path/to/image/on/my/local/pc.jpg ... `

i previously paste some code in the mail editor with path to local images and have tryed to send a test mail. But now i have updated all images links and cleared the cache and i always get the same error when typping `mautic:mail:send` in console.  
i’ve checked every campagns and mails and the image reffered in the error doesn’t appear anywhere

also when i click on “send test mail” and i trigger sending by typping `swiftmailer:spool:send` in console the emails are sent

thanks’ !

---

<div class="post-metadata">

**Author:** ![ekap34](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@ekap34](https://forum.mautic.org/u/ekap34)\
**Post date:** [November 10, 2016, 5:23pm UTC](https://forum.mautic.org/t/error-when-processing-mail-queue/6438/3 "2016-11-10T17:23:55Z")

</div>

ok bad news for me, i’ve restarted appach service and now i can’t reach the mautic admin panel. I get error message “Site is offline…”  
and previously reported error apear each minute in the log …  
any ways to manually reset swiftmailer ??
