The following error was getting generated while trying to enable the mail from mail settings for the account in plesk
Error: mailmng failed: MEAOSM.Domain.GetDomain failed
at (MailEnable::openDomain line 87)
at execute console command –turn-on-domain(vconsoleapp::start line 93)
at execute “C:\Program Files (x86)\Plesk\admin\bin\mailmng” –turn-on-domain “–domain-name=example.com”(vconsoleapp::run line 110)
(Error code 1)
Fix
1. Access the server using RDP
2. Then run the command from the cmd
# plesk repair mail example.com
3. Then try to enable the mail from the mail settings of the domain from plesk adminstration panel.
It works!