MailLogon function used to send an email returns error...

Hi All,

I have write a cicode to send an email from Citect 2018 runtime.

My cicode runs fine with Windows live mail, we test it and it runs fine.

When we do this for Outlook 2019,  Maillogon function is returning an error code 313 which means "The MAPI mail system is not installed, or incorrectly installed on the computer."

We test the mail by sending manually directly from outlook, it runs fine.

Please help to find out posible issue, 

Portion of the cicode is as belows 

Exec_Mail_Client=Exec("C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE",6);

Mail_Logon=MailLogon("hemant.jadhav@foxindia.net","",0); /// 

thank you

Hemant