Sending Error

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.

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. "

1 Like

Hey Joey,

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