File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ private function createSmtpTransport(): Smtp
221
221
ScopeInterface::SCOPE_STORE
222
222
);
223
223
224
+
224
225
$ options = [
225
226
'name ' => 'localhost ' ,
226
227
'host ' => $ host ,
@@ -236,7 +237,10 @@ private function createSmtpTransport(): Smtp
236
237
$ options ['connection_config ' ]['ssl ' ] = $ ssl ;
237
238
}
238
239
239
- return new Smtp (new SmtpOptions ($ options ));
240
+ $ transport = new Smtp ();
241
+ $ transport ->setOptions (new SmtpOptions ($ options ));
242
+
243
+ return $ transport ;
240
244
}
241
245
242
246
/**
Original file line number Diff line number Diff line change 29
29
<port >25</port >
30
30
<set_return_path >0</set_return_path >
31
31
<transport >sendmail</transport >
32
+ <auth >none</auth >
32
33
</smtp >
33
34
</system >
34
35
<trans_email >
You can’t perform that action at this time.
0 commit comments