Thanks for the great work on this software, I'm loving the look and feel, as well as all the functionality!
I'm using cPanel without ssh access. I've installed everything locally and ftp'd all files to the server, seems to work fine so far. There's been a lot of trial and error to get emails working. In the end, the only setup that seems to work is:
Sender: noreply@domain.com
Driver: smtp
Host: 127.0.0.1
Port: 587
Encryption:
Username: noreply@domain.com
Password: password_here
Notification emails are being sent for new replies on followed discussions, also being sent for password resets and email change confirmation. The only instance where emails don't send is on new user registration, or when clicking 'Resend' from the banner while the user is not verified. Even though the message says 'Sent', the activate_account email just doesn't send.
I've seen in other support discussions here the recommendation is to set the encryption to 'tls', but all emails stop sending when I do that.
I tried all combinations of ports, from 25, 465, 587, all with or without tls, the combination above is the only one that sends emails at all.
Any ideas how to troubleshoot this? There is nothing in the flarum logs when the activation emails fail to send. When I enable tls encryption, the logs say:
production.ERROR: Swift_TransportException: Unable to connect with TLS encryption in /home/redacted/forums/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php:349
Stack trace:
#0 /home/redacted/forums/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(148): Swift_Transport_EsmtpTransport->doHeloCommand()
[...]