https://support.apple.com/en-us/HT202304
SMTP information for the outgoing mail server
Server name: smtp.mail.me.com
SSL Required: Yes
If you see an error message when using SSL, try using TLS or STARTTLS instead.
Port: 587
SMTP Authentication Required: Yes
Username: Your full iCloud email address (for example, emilyparker@icloud.com, not emilyparker)
Password: Use the app-specific password that you generated when you set up the incoming mail server. 
