It is quite odd, for sure, if your hostmail credentials work in other tools and assuming it’s properly pasted in discourse config. Do you have security tools that might block hostmail domain?
You can also try to look at <discourse_url>/logs to see if there is a detailed error on what’s happening.