You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because by default PHPMailer.php has TLS encryption enabled.
If the SMTP server does not support encryption, it is not possible to connect to it.
/**
* Whether to enable TLS encryption automatically if a server supports it,
* even if `SMTPSecure` is not set to 'tls'.
* Be aware that in PHP >= 5.6 this requires that the server's certificates are valid.
*
* @var bool
*/
public $SMTPAutoTLS = true;
If encryption is not specified in the SMTP settings, then SMTPAutoTLS should be disabled Solution:
In the file "\app\Mailer.php" change the code:
This is because by default PHPMailer.php has TLS encryption enabled.
If the SMTP server does not support encryption, it is not possible to connect to it.
If encryption is not specified in the SMTP settings, then SMTPAutoTLS should be disabled
Solution:
In the file "\app\Mailer.php" change the code:
BEFORE:
AFTER:
The text was updated successfully, but these errors were encountered: