send the emails from NAV, which is going through Outlook.

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.

Hi Rose,

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[80];CCName : Text[80];Subject : Text[260];Body : Text[260];AttachFileName : Text[260];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

Rose

That’s why I also mentioned using SMTP [:D]