Hello! Could anyone help an old dog to learn a new trick?
I’m an old man hobbist who learned how to set up a cloud server for my family. I ALMOST get it done, but there is an error message on Admin Setup telling that I didn’t set up or test the email of the server. Ok… I place right configuration of SMTP, port, user and password, but the only thing that I get is a red banner with “The email could not be sent. Please review your settings. (Error: The email could not be sent. Check the email server log)”. There are no log errors about that.
I find no way to solve it, spent more than a week searching here in forum.
I am not a technician, just an old man enjoying some retirement time in keep the brain work. So, if it have solution, does anyone can explain in simple details how to solve it?
I am running Nextcloud AIO v7.11.2 on Ubuntu 22.04.
Yes, this config is working on my Outlook at PC and mobile. It is my personal account on my domain. Also set up other email to profile, in order to enable Nextcloud send test. Its not Gmail.
Yes I have ssh access to the server, but I don’t figure out how to access the correct log files.
Yes, with some guidance, I can install anything (I learned from scratch how to set up a server and install nextcloud with all fixes, other than email issue)
I installed by myself the Nextcloud AIO with previous version, and update it today to v7.11.2 by AIO panel.
If you configure your Nextcloud mail, take care to use your Outlook-mail address as sender.
SMTP servers check outgoing email sender’s addesses against their own mail domain name.
IMAP server outlook.office365.com
IMAP port 993
IMAP encryption TLS
POP server name outlook.office365.com
POP port 995
POP encryption TLS
SMTP server name smtp-mail.outlook.com
SMTP port 587
SMTP encryption STARTTLS
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the webserver log.
<br />
<b>Parse error</b>: syntax error, unexpected token "=>", expecting ")" in <b>/var/www/html/config/config.php</b> on line <b>65</b><br />
No worries… If needed, I can make the server again (I took a step by step note) and nothing really important there yet.
With your help, I got the logs about email. Hope it can help you to understand what is happening with my email settings.
TransportException
Connection could not be established with host "ssl://smtp.webcenter.com.br:465": stream_socket_client(): Unable to connect to ssl://smtp.webcenter.com.br:465 (Operation timed out)
Sending mail to "Array ( [cesar@scavone.net.br] => Cesar Scavone ) " with subject "Teste da configuração de e-mail" failed