Version 5.0.0 beta 7

This commit is contained in:
Neo committed 2025-12-19 17:18:38 -08:00
1 parent fa2a720105
commit 54d5dcd0a0
156 files changed
+4337 -2995

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ class Smtp extends Email
$connection = @fsockopen( ( ( $this->smtpProtocol == 'ssl' ) ? 'ssl://' : '' ) . $this->smtpHost, $this->smtpPort, $errno, $errstr, Request::isCliEnvironment() ? VERY_LONG_REQUEST_TIMEOUT : DEFAULT_REQUEST_TIMEOUT );
if ( !$connection )
{
throw new Exception( $errstr, $errno );
throw new Exception( $errstr ?? '', $errno ?? 0 );
}
static::$smtp[ $this->connectionKey ] = $connection;
register_shutdown_function(function( $object ){