Default ports timed out
I've tried all other solutions for the "Connections to the server p42-imap.mail.me.com on the default ports timed out." on my Mac running 10.12.4. I have mac.com email address. Everything was working fine in Mail.app and this message has been popping up lately. I cannot send email, only receive.
Am I using the iCloud assistant in Internet Accounts or do I need to set up my Mail.app using the manual settings with iCloud servers and port settings?
MacBook Pro with Retina display, macOS Sierra (10.12.4)