Mail Not going from Navision

chandrurecchandrurec Member Posts: 560
Hi all,

I have written coding for sending mail using the Mail Codeunit in Navision and the mail was going till August 05. After this , customer have done the physical to virtual server migration and after this is done, the mail was not going from navision. when I debugged , I found that , the code is getting executed only till


IF ISCLEAR(OApplication) THEN
CREATE(OApplication,TRUE,TRUE);

IF (NOT OApplication.Logon(TRUE,'','',FALSE,FALSE)) THEN BEGIN
OApplication.Logoff;
EXIT
END;

IF ISCLEAR(OSendMail) THEN
CREATE(OSendMail,TRUE,TRUE);

After this point , its not getting run. When I try to replicate the same scenario from my system, I can able to send mail without any problem.

If anyone knows the reason for mail not going from Navision, Kindly let me know.

Thanks in advance.

Regards,
chandru.

Comments

  • ufukufuk Member Posts: 514
    Check if the automation is registered correctly. If you didn't install NAV (used a clon etc.) on the new server, I suggest doing a new install of the required components. You can also check any firewall, antivirus and port change in new server.
    Ufuk Asci
    Pargesoft
Sign In or Register to comment.