Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* begin Setting Email from gmail*/
- 'mailer' => [
- 'class' => 'yii\swiftmailer\Mailer',
- 'useFileTransport' => false,
- 'transport' => [
- 'class' => 'Swift_SmtpTransport',
- 'host' => 'smtp.gmail.com',
- 'username' => 'yourmail@gmail.com',
- 'password' => 'yourpassword',
- 'port' => '465',
- 'encryption' => 'ssl',
- 'streamOptions' => [
- 'ssl' => [
- 'allow_self_signed' => true,
- 'verify_peer' => false,
- 'verify_peer_name' => false,
- ],
- ],
- ]
- ],
- /* end Setting Email from gmail*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement