Yii2 – Mailer – Multiple SMTP Servers


Step 1 – Extend Mailer Class

Step 2 – Modify Config Files (config/web.php and/or config/console.php)

Step 3 – Choose SMTP when sending email

 

Comments are closed.