NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

PHPMailer send test email bug
Started by Jelco0

Jelco0

Jelco0

Member
Joined
02 Apr 2021
Last Seen
07 Nov 2023
Topics
1
Posts
3

When I try to send a test email with PHPMailer enabled, it just crashes my site. It gives me a cloudflare host unreachable screen, and no errors are logged.

I know 100% sure that the credentials are correct, since it works on other php systems.

How do I fix this?

Jelco0 · over 3 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Nov 2024
Topics
41
Posts
1076

Hi,

Usually this means there is a firewall blocking the connection to the email server, or the SMTP address/port combination is incorrect.

You can also check the credentials in the file core/email.php, and if secure is set to tls you can try changing it to ssl and vice versa.

Samerton · over 3 years ago
Jelco0

Jelco0

Member
Joined
02 Apr 2021
Last Seen
07 Nov 2023
Topics
1
Posts
3

Now im getting SMTP Error: Could not connect to SMTP host.

Jelco0 · over 3 years ago
Jelco0

Jelco0

Member
Joined
02 Apr 2021
Last Seen
07 Nov 2023
Topics
1
Posts
3

I got it working, my SSL cert wasn't set up the right way

x1
Jelco0 · over 3 years ago