Setup mydomain in email

I tried to setup email with gmail domain and its works fine, now I want to set it up with my company domain and it gives server error. How to setup it?

Have a look if your provider has a configuration listed with ports, URL etc. Be sure you have typed everything exact!