Skip to content

Commit 3471b9e

Browse files
authored
Merge pull request #12 from xiaochong0302/master
fixed smtp auth
2 parents b544b10 + 8bd5172 commit 3471b9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Manager.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ protected function registerSmtp(): void
108108
}
109109

110110
if (isset($config['username'])) {
111+
112+
$this->mailer->SMTPAuth = true;
113+
111114
$this->mailer->Username = $config['username'];
112115

113116
if (isset($config['password'])) {

0 commit comments

Comments
 (0)