Steps to reproduce
I am unable to change the SMTP server settings for a mail account from STARTTLS on port 587 to SSL/TLS on port 465.
When I save the changed SMTP settings, the interface loads for about 30 seconds and then shows the following error message:
SMTP connection failed
The setting is not applied successfully.
- Open the mail account settings.
- Select an existing mail account.
- Go to the SMTP server settings.
- Change the SMTP configuration from: - Port:
587 - Encryption: STARTTLS
- To:
- Port:
465
- Encryption:
SSL/TLS
- Save the settings.
Expected behavior
The SMTP settings should be saved successfully, and the account should use port 465 with SSL/TLS for outgoing mail.
Actual behavior
The application loads for approximately 30 seconds and then displays:
SMTP connection failed
The SMTP settings cannot be changed successfully.
Mail app version
5.7.15
Nextcloud version
32.0.8
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
Here the error in the JS-console:
[ERROR] mail: could not save account details
Object { app: "mail", uid: "example", level: 2, error: {…} }
index.mjs:47:17
{
"app": "mail",
"uid": "example",
"level": 2,
"error": {
"status": "fail",
"data": {
"error": "OTHER",
"service": "SMTP",
"host": "asmtp.mail.example.com",
"port": 465
}
}
}
Steps to reproduce
I am unable to change the SMTP server settings for a mail account from STARTTLS on port 587 to SSL/TLS on port 465.
When I save the changed SMTP settings, the interface loads for about 30 seconds and then shows the following error message:
The setting is not applied successfully.
587- Encryption:STARTTLS465SSL/TLSExpected behavior
The SMTP settings should be saved successfully, and the account should use port
465withSSL/TLSfor outgoing mail.Actual behavior
The application loads for approximately 30 seconds and then displays:
The SMTP settings cannot be changed successfully.
Mail app version
5.7.15
Nextcloud version
32.0.8
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
Here the error in the JS-console: