Dear all,
I m using NAV 2009 SP1 Database.I m using base sending mail functionality by using Codeunit 397 (mail), when using this Outlook page opens the I have to press Send button I want that mail should be sent automatically without pressing send button on MS outlook to achieve this I have commented code in function given below:
//OSendMail.OpenDialog := OpenDialog;
Above code opens MS outlook page,when I blocked above code then it is giving me following error:
Microsoft Dynamics NAV Classic
This message is for C/AL programmers: The call to member Send failed. Microsoft Office Outlook returned the following message: The operation failed.
Vikram Dabas
Navision Technical Consultant
0
Answers
Navision Technical Consultant
Which function we have to call from Codeunit 400
Navision Technical Consultant
Davao Restaurant-
Davao Resort-seo expert
Navision Technical Consultant
In Codeunit 400, function name : CreateMessage
and SMTPMail.send(); also.