Unable to connect to server when migrating email

Unable to connect to server when migrating email

I keep getting an error message and I'm not sure what I could be doing wrong. I'm trying to migrate from an iCloud email, not sure if that's why I'm having difficulty but I've also tried looking on the forum for answers and it's still of no help.