Problem with email domain

Hello!
I am trying to set up an email domain located on a local network.
I enter the address of the mail server and the smtp server, press the save button and a message is issued
Invalid email account.
Please help!

Try to check your browser console for any errors. It is possible that you are not able to reach the email server from your erpnext server.

It might help you.