#Can't send emails.
1 messages · Page 1 of 1 (latest)
Please check if the password reset email sends.
If it does, check your queue workers - https://CtrlPanel.gg/docs/Installation/getting-started#queue-listeners
If it still doesnt work, check your php version is 8.1 - php -v
Make sure to clear the config cache and to restart the queue workers when making changes to the email details.
php artisan queue:restart```
It is recommended that you have some sort of Linux and MariaDB experience before installing this.
Doesn't fix the problem.
The queue workers are already set and I am using PHP 8.1.25
No, It doesn't send...
you get an error message?
] production.ERROR: Connection could not be established with host "email.novacloud-hosting.com:587": stream_socket_client(): Unable to connect to email.novacloud-hosting.com:587 (Connection timed out) {"userId":1,"exception":"[object] (Symfony\Component\Mailer\Exception\TransportException(code: 0): Connection could not be established with host "email.novacloud-hosting.com:587": stream_socket_client(): Unable to connect to email.novacloud-hosting.com:587 (Connection timed out) at /var/www/controlpanel/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154)
[stacktrace]
aah yea you already send it
Connection could not be established with host "email.novacloud-hosting.com:587
🤷♂️
The password, user etc. are all correct
appearntly not
And the mail server works. My uptime kuma is also working
wel its not correct
it can send mails
the password reset does not run thru a queue or anything, just straight up sends it
but only my uptime kuma
hmm?
the details are not correct, or your panel is unable to make request to your smtp, aka firewall (less likely than the details not being correct)
are you also using the correct mail encryption?
tls/ssl
this is still not kuma
but I mean, my uptime kuma can send mail altough on ctrlpanel it doesn't work
yes you told me
yeah
you can try ssl, in your second screenshot i see a checkmark not being checked at TLS but since it says STARTLS i would assume its tls
i don't know your details or why i doesn't work, is this smtp self hosted? is this a service?
cntrlpanel just passes the details straight to the laravel mailer when making a password reset request
you can try and clear the cache but i think it should not matter.
php artisan cache:clear php artisan config:clear
in the 2. screenshot that checkmark says ignore tls issues
so ssl also doesn't work
yea no not if you use tls no
yh
Umm I have an idea for the issue:
The Mailserver has an A record and an AAAA record pointing to its ipv4 and ipv6.
but only the ipv4 ports are allowed by the firewall