Options

Using SMTP Navision 2013 R2

mbs001mbs001 Member Posts: 10
edited 2013-12-09 in NAV Three Tier
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

  • Options
    geordiegeordie Member Posts: 655
    I think the smtp server cannot be reached and task ends in timeout: I suggest to check first if your firewall is blocking any connection.
  • Options
    krikikriki Member, Moderator Posts: 9,090
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.