# Sending Error

**URL:** <https://forum.mautic.org/t/sending-error/19528>\
**Category:** Product Support\
**Created:** [May 20, 2021, 2:52am UTC](https://forum.mautic.org/t/sending-error/19528 "2021-05-20T02:52:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesjosh912](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jamesjosh912/32/2810_2.png) [@jamesjosh912](https://forum.mautic.org/u/jamesjosh912)\
**Post date:** [May 20, 2021, 2:52am UTC](https://forum.mautic.org/t/sending-error/19528/1 "2021-05-20T02:52:02Z")

</div>

**Your software**  
My Mautic version is: 4.15.0 (?)  
My PHP version is: /etc/php/7.4/apache2  
My Database type and version is: ?

**Your problem**  
My problem is: I cannot send messages.

These errors are showing in the log:

[2021-05-20 01:10:07] mautic.NOTICE:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The “swiftmailer.transport.real” service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. (uncaught exception) at /var/www/html/mautic/vendor/symfony/dependency-injection/Container.php line 275 while running console command `mautic:emails:send`

[2021-05-20 01:10:07] mautic.WARNING: Command `mautic:emails:send` exited with status code 1

Steps I have tried to fix the problem: I’m not sure where to start.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 20, 2021, 4:53am UTC](https://forum.mautic.org/t/sending-error/19528/2 "2021-05-20T04:53:05Z")

</div>

Is it possible, that you used Docker?  
The key is here:  
"The “swiftmailer.transport.real” service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. "

---

<div class="post-metadata">

**Author:** ![jamesjosh912](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jamesjosh912/32/2810_2.png) [@jamesjosh912](https://forum.mautic.org/u/jamesjosh912)\
**Post date:** [May 23, 2021, 9:21pm UTC](https://forum.mautic.org/t/sending-error/19528/3 "2021-05-23T21:21:39Z")

</div>

Hey Joey,

What is Docker? How can I stop using it? If I did use it, I didn’t mean to.
