Creating a SmarterMail account for the first time does not create the MX

This commit is contained in:
robvde 2012-10-25 00:40:38 +04:00
parent 4e4bc68272
commit eae02e25ca

View file

@ -1056,6 +1056,9 @@ namespace WebsitePanel.EnterpriseServer
{ {
domain.MailDomainId = itemId; domain.MailDomainId = itemId;
ServerController.UpdateDomain(domain); ServerController.UpdateDomain(domain);
domain = ServerController.GetDomain(domain.DomainId);
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.Mail, domain, "");
} }
// check if instant alias must be added // check if instant alias must be added