- 'mailer' => [
- 'class' => 'yii\swiftmailer\Mailer',
- 'viewPath' => '@common/mail',
- 'transport' => [
- 'class' => 'Swift_SmtpTransport',
- 'host' => 'smtp.zoho.com',
- 'username' => 'admin@p2code.com',
- 'password' => '***...',
- 'port' => '587',
- 'encryption' => 'tls',
- ],
- ],
=> error :Failed to authenticate on SMTP server with username "
admin@p2code.com" using 2 possible authenticators
please help me, thanks.