Cannot send message using SMTP server
I configured my iCloud account with OS Sierra 10.13.6. When I go to Mail I can receive emails without any issues but I cannot send.
I have researched around the web and these are the steps I have tried:
Under Mail - Preferences - Accounts, I selected my iCloud account (which shows IMAP). Under the Server Settings tab - Outgoing Mail Account I added SMTP.mail.me.com.
I added my iCloud email under User Name. Entered my password. Under host name I entered smtp.mail.me.com. I checked the option for automatically manage my connection settings.
Still the SMTP account shows offline. This is the error I get:
Cannot send message using the server SMTP
Connections to the server “smtp.mail.me.com” on the default ports timed out.
Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
Please help!
MacBook Pro TouchBar and Touch ID, macOS Sierra (10.12.6)