We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a577705 commit 04f5b42Copy full SHA for 04f5b42
1 file changed
system/Email/Email.php
@@ -2292,6 +2292,8 @@ protected function setArchiveValues(): array
2292
*/
2293
protected function isSMTPConnected(): bool
2294
{
2295
- return $this->SMTPConnect !== null && get_debug_type($this->SMTPConnect) !== 'resource (closed)';
+ return $this->SMTPConnect !== null
2296
+ && $this->SMTPConnect !== false
2297
+ && get_debug_type($this->SMTPConnect) !== 'resource (closed)';
2298
}
2299
0 commit comments