(0x80040213): The transport failed to connect to the server

postsauravpostsaurav Member Posts: 708
Hi all,

I am facing a issue while sending mail via NAS.
I have created a report which send the mail to customer with attachment. It works fine if run manually. Please see below listed secnarios -

1) When I am running the report manually from classic client we are getting the mail.
2) When I am running the CD 448 job queue dispatcher manually from object designer we are getting the mail.
3) But when the job queue dispatcher is run by NAS the mail is not sent. I am getting following error "(0x80040213): The transport failed to connect to the server."

I also tried changing the authentication type in SMTP Setup, but results were same.

NAS service runs with administrator of the server which is synchronized in database and have serveradmin,sysadmin & pubic rights in SQL Server.

If anyone can help me with this please revert back.

Thanks & Regards,
Saurav Dhyani

Do you Know this About NAV?


Connect - Twitter | Facebook | Google + | YouTube

Follow - Blog | Facebook Page | Google + Page

Answers

  • ppavukppavuk Member Posts: 334
    Check everything in smtp mail setup. first of all - mailserver URL. Try basic authentication, type user name and password.
  • postsauravpostsaurav Member Posts: 708
    Hi ppavuk,

    Thanks for the reply.

    Checked everything in SMTP mail setup. Tried all type of authentication method.

    If anything was wrong there that i should be unable to send e-mail even via job scheduler & manually execution of the report. Isn't that correct?

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • postsauravpostsaurav Member Posts: 708
    Hi all,

    Please let me know if anyone resolved such issue.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • ppavukppavuk Member Posts: 334
    postsaurav wrote:
    Hi ppavuk,

    Thanks for the reply.

    Checked everything in SMTP mail setup. Tried all type of authentication method.

    If anything was wrong there that i should be unable to send e-mail even via job scheduler & manually execution of the report. Isn't that correct?


    Yes, this is correct. Looks your code and settings is Ok. Check firewall on NAS machine. The problem should be somewhere outside NAV. The error is a connection error, check firewall, check antivirus (i know MacAfee is blocking sendmail by default).
  • ResenderResender Member Posts: 119
    Has this been resolved cause I'm having the exact same problem, and neither my antivirus or firewall are blocking the mails.
  • KYDutchieKYDutchie Member Posts: 345
    Hi all,

    try running the NAS using a domain account. Running the NAS as a local administrator will usually fail due to restrictions in network access.

    When we have to use SMTP mail through NAS we always have the client setup a domain account for the NAS service.

    Let me know if that works,

    Willy
    Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
  • postsauravpostsaurav Member Posts: 708
    Hi KYDutchie,

    The organization don't have a domain. what else we can do?

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • ppavukppavuk Member Posts: 334
    did you tried to use simple authentication?
Sign In or Register to comment.