Options

Outlook has to be closed - why?

A little piece of code in NAV 2017.

IF Mail.NewMessage('maria@svaneit.dk','','','Open','Body','',FALSE) THEN
MESSAGE('Send');

Var codeunit 397 mail

If my outlook is closed, it works just fine. If my outlook is open, nothing happens, wich is a big problem. What am I doing wrong? Codeunit 9520 down't work either (same problem).
Sign In or Register to comment.