I have the following in main-local.php:
[color=#008000]‘mailer’ [/color]=> [
[color=#008000][b]'class' [/b][/color]=> [color=#008000][b]'yii\swiftmailer\Mailer'[/b][/color],
[color=#008000][b]'viewPath' [/b][/color]=> [color=#008000][b]'@common/mail'[/b][/color],[color=#808080][i]
[/i][/color][color=#808080] [/color][color=#008000]‘transport’ [/color]=> [
[color=#008000][b]'class' [/b][/color]=> [color=#008000][b]'Swift_SmtpTransport'[/b][/color],
[color=#008000][b]'host' [/b][/color]=> [color=#008000][b]'mail.[/b][/color]myexample.com'[size=2],[/size]
[color=#008000][b]'username' [/b][/color]=> [color=#008000][b]'notifications@myexample.com'[/b][/color],
[color=#008000][b]'password' [/b][/color]=> [color=#008000][b]'SuperS3cretPass[/b][/color],
[color=#008000][b]'port' [/b][/color]=> [color=#008000][b]'587'[/b][/color],
[color=#008000][b]'encryption' [/b][/color]=> [color=#008000][b]'tls'[/b][/color],
[color=#008000][b]'streamOptions' [/b][/color]=> [
[color=#008000][b]'ssl' [/b][/color]=> [
[color=#008000][b]'allow_self_signed' [/b][/color]=> [color=#000080][b]true[/b][/color],
[color=#008000][b]'verify_peer' [/b][/color]=> [color=#000080][b]false[/b][/color],
[color=#008000][b]'verify_peer_name' [/b][/color]=> [color=#000080][b]false
[/b][/color][color=#000080] [/color]],
],
],
],
and it’s working just fine but now I need to add another user, lets say [color="#008000"][size=“2”]support@[/size][/color][color="#2e8b57"]myexample.com[/color][size=“2”] to send another type of emails.[/size]
My question is, how do I add this new user or how do I change the one configured in main-local.php on the fly?
Thank you.