I use codeunit 397 to send mail like below
Mail.NewMessage('hotmail.com','','Subject','Body','',FALSE);
The system show error "Rintime Error" and Navision is blockecd
But if I set OSendMail.OpenDialog := Ture
Mail.NewMessage('hotmail.com','','Subject','Body','',True);
The system is runing normal and I must to send the mail manual
0