I have problems sending emails via swiftmailer and mailjet as an SMTP server. Everything used to work fine, and then something broke. I am trying to figure out what the problem is.
Doc seems to say that swiftmailer generates debug mode in the log. http://symfony.com/doc/current/reference/configuration/swiftmailer.html#logging
So, I activated debug mode in app.php
<?php
use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
Debug::enable();
require_once __DIR__.'/../app/AppKernel.php';
$kernel = new AppKernel('prod', true);
When I run the team everything seems perfect
sudo -u www-data php app/console swiftmailer:spool:send --env=prod
[2015-11-20 22:14:47] Processing default mailer... 6 emails sent
But not receiving the email, the mailjet control panel indicates that no email messages were sent. And nothing in the magazines.
So where should the swiftmailer write its logs?
, , . , swiftmailer , .
, Gmail ,
!