Hi All,
I am using smtp server for sending email to customer.
SMTP Server : smtp.gmail.com
SMTP Port : 465
Authentication : Basic.
Code i am writing is
CLEAR(SMAIL);
SMAIL.CreateMessage('Name','name.com','xyz.com','Sub','Body',TRUE);
SMAIL.Send;
MESSAGE('mail sent');
Error after execution is : Microsoft Dynamics NAV The SMTP mail system returned the following error: "The operation has timed out.".
Please help if anyone has come across this issue in NAV 2013 R2.
Thanks in advance.
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!