The transport failed to connect to the server - 0x80040213

ChowdaryChowdary Member Posts: 148
Hi All,

I am getting this error "The transport failed to connect to the server - 0x80040213"
I saw other posts related to this error, couldn't get my answer

here is how I'm doing,

Form 409 SMTP Mail Setup
"smtp.gmail.com" (with no quotes)
basic
mymail@gmail.com
mypwd

Codeunit 50000 (Test CU)
OnRun()
SMTP.CreateMessage('Test','mymail@gmail.com','mymail@gmail.com'
,'Test Sub','Test Body',FALSE);
SMTP.Send();
MESSAGE('Mail send');

when I'm running codeunit 50000 I'm getting this error

Can someone please guide me in a right way so that I can send mail from Nav 2009 R2 to other mails like gmail, yahoo, n so on
Pleasure in the job puts perfection in the work

Comments

Sign In or Register to comment.