Good morning.
I would like to test sending email in my Symfony Command.
My email is send with \Swift_Mailer
by
$this->mailer->send($message);
I try to use this:
http://symfony.com/doc/current/cookbook/email/testing.html
But $this->client->getProfile()
and Symfony Response
is not available in Symfony Command.
Argument 1 passed to Symfony\Component\HttpKernel\Profiler\Profiler::loadProfileFromResponse() must be an instance of Symfony\Component\HttpFoundation\Response, null given,
Now how can i verify that my email is send correctly?