We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f53b93 + 57a7b82 commit bb4792cCopy full SHA for bb4792c
1 file changed
identity_smtp.php
@@ -238,7 +238,7 @@ function smtpWillConnect($args)
238
$smtpSettings = $this->loadSmtpSettings(array(
239
'identity_id' => $this->from_identity
240
));
241
- if (!$smtpSettings['smtp_standard'] && !is_null($smtpSettings['smtp_standard'])) {
+ if (!is_null($this->from_identity) && !$smtpSettings['smtp_standard'] && !is_null($smtpSettings['smtp_standard'])) {
242
$args['smtp_host'] = $smtpSettings['smtp_host'];
243
$args['smtp_user'] = $smtpSettings['smtp_user'];
244
$args['smtp_pass'] = rcmail::get_instance()->decrypt($smtpSettings['smtp_pass']);
0 commit comments