-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
It did not send me an email using SMTP, it showed an error: "SMTP Error: Could not connect to SMTP host.".
In common.inc.php I added the line "$mail->SMTPSecure = SMTP_SECURE;" and in config line add "define("SMTP_SECURE", "ssl");", emailing works.
if (SMTP_IS_AUTHENTICATION) {
$mail->SMTPAuth = true;
$mail->SMTPSecure = SMTP_SECURE; // ADD LINE
$mail->Username = SMTP_AUTHENTICATION_USERNAME;
$mail->Password = SMTP_AUTHENTICATION_PASSWORD;
}
Metadata
Metadata
Assignees
Labels
No labels