The programme won't let me set up the SMTP for one of my IMAP accounts. Why?

Account details:
incoming mail server:
ssl port: 993
authentication: password

outgoing mail server:
ssl port: 587
authentication: password

Change the security policy to “Use SSL/TLS on special port (Legacy)” and let me know if it helps.