I am using Swiftmailer to send emails with SMTP
I need to get response from SMTP, but what I am trying is not working. Is it even possible?
I tried an invalid email: [email protected] - on the code below, which does not return errors
if (!$mailer->send($message, $fails))
{
echo "Failures:";
print_r($fails);
return false;
}
return true;
P.S. I don't want to use PhpMailer because I have other issues with it.