I am using 400 -SMTP code unit to automatic send mails in a newly developed module. I am calling SMTP code unit from a newly developed code unit function called sendmails()
sendmails()
SMAIL.CreateMessage('NAV','Kasunv@gmail.com','Kasunv@gmail.com','Subject','Body',FALSE);
SMAIL.Send;
when executing the function in navision classic client stuck but when i put that code into a form button on push trigger it works.
pls help!!!
i used outlook(codeunit 397) but only popup the window with filled details (with send to add,subject,body..etc)
but need to send manualy from window.
i need automatic mails as notifications.
Thanx,
Kasun Vithanage
MITS
0
Answers
http://lmgtfy.com/?q=send+email+from+navision
What code did you try with CU397?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
outlook.NewMessage(kasunv@gmail.com,'','Subject','Body','',TRUE);
can i send this automaticaly ??
its only popup a window..
MITS
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
MITS
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
MITS