Dear all, Please explain me what all set up need to be done in order to send the emails from NAV, which is going through Outlook. Thanks & Regards Rose
As default then Navision is using the MAPI profile on the pc you are working on.
The two main methods are using codeunit 397 to send a E-Mail through the users outlook client or use SMTP and send from the server.
The call for the Mail codeunit (397) is merely a function call i.e.
NewMessage(ToName : Text;CCName : Text;Subject : Text;Body : Text;AttachFileName : Text;OpenDialog : Boolean)
Mail.NewMessage(‘Red@Rose.com’,‘Info@Rose.com’, ‘Test Message’’, ,TRUE);
Yes Dave, but codeunit 397 requires that you’ve setup your MAPI (aka Windows Mail profile) before you can use it.
Thanks Dave…[:D] I will try this.
Thanks & Regards
That’s why I also mentioned using SMTP [:D]