Why do I keep getting a "connection to server failed" error when checking my email?

cannot get mail on my Ipad nor my Iphone. Does this have anything to do with BT switching me to BT Mail?
How do I sort this? Have restarted modem but still same message
Re: Cannot get mail - connection to server failed

It's possible. Just go to Settings - Mail, Contacts, Calendars and then tap on the account and then the account name and edit the information available to match that of the alleged changes. If you have iCloud, Yahoo, Outlook.com, gmail, etcetera, then just delete the account from the device and then set it up again.

Original thread: https://forums.imore.com/threads/why-do-i-keep-getting-a-connection-to-server-failed-error-when-checking-my-email.299037/