Hi, I have on my site created an automatic email sending system for registering an account, everything is configured well with php mailer, I have no code errors but when I want to send the email, this appears: Error sending email: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Here is my configuration:
$mail->isSMTP();
$mail->Host = 'smtp-mail.outlook.com'; // Outlook SMTP server
$mail->SMTPAuth = true;
$mail->Username = 'email'; // Your email address
$mail->Password = 'password'; // Your email password
$mail->SMTPSecure = ''; // No encryption
$mail->Port = 25; // Standard port without encryption
What makes it not work?