X++:
SysEmailParameters EmailPar;
select firstonly * from EmailPar;
mailer.SMTPRelayServer(EmailPar.SMTPRelayServerName,25,EmailPar.SMTPUserName, EmailPar.SMTPPassword,false);
mailer.fromAddress(Empltable.Email);
mailer.tos().appendAddress(Empltable.Email);
mailer.subject('Hi');
mailer.loadBodyFromFile('C:\\Report.dot');
mailer.priority(1);
mailer.sendMail();
такая ошибка :
Сообщение (09:21:33)
Метод "createMHTMLBody" в COM-объекте класса "CDO.Message" возвратил код ошибки 0x800C0005 (<неизвестно>), который означает: The system cannot locate the resource specified.
что за ошибка и где что не так ????