Overview
When sending notification emails and "Use encrypted connection (SSL/TLS)" is checked, STARTTLS is supported only with port 587. If port 587 is not used, implicit TLS is used instead.
Symptoms
If you try to send email with "Use encrypted connection (SSL/TLS)" checked, port 587 selected and the listening SMTP server accepting only implicit TLS connections, sending the email will fail.
Alternatively, if your SMTP server accepts only STARTTLS connections, you can't use other port number than 587 with the M-Files notifications.
Solution
You can alter the SMTP server to accept implicit TLS connections from some other port than 587 or alternatively use STARTTLS with port 587. You can't use port 587 with implicit TLS connection, and you must use port 587 with STARTTLS connections.
There is a development item regarding this restriction (encryption with port 587 is only possible with STARTTLS connections) with ID 137888 in our internal database. If you have important reasons to utilize other port than 587 with STARTTLS connections, please let M-Files Support know this to bring more weight and attention to the responsible team of this development item. The issue might be fixed in some future release. If the fix is implemented, it can be found from the release notes by its ID number:
https://www.m-files.com/customers/m-files-online-release-notes/
