When you say it’s not detecting, are you referring to the email wizard where it attempts to detect the hostname, ports and authentication used by the server?
It is good to know that you were able to fix the issue on your own and if you share with the community how exactly you were able to do it, your message here might help others who use thunderbird mail app and it fails to detect the smtp and the imap address with error message failed to find servers.