I have tried several hours to make Swiftmailer send mails out, but I can’t make it work.
This is from my config:
'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'useFileTransport' => false, 'transport' => [ 'class' => 'Swift_SmtpTransport', 'host' => 'smtp1.servage.net', 'username' => 'myusername', 'password' => 'mypassword', 'port' => '25', ]
When sending mails, everything works out fine except there comes no mails. There are no errors.
If, however, I change the password to something wrong, I’ll get an authentication error:
Failed to authenticate on SMTP server with username “myusername” using 3 possible authenticators 181
Can anybody shed some light on what’s wrong?