(0x80040213): The transport failed to connect to the server
            
                
                    postsaurav                
                
                    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.
                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
0                
            Answers
- 
            Check everything in smtp mail setup. first of all - mailserver URL. Try basic authentication, type user name and password.0
 - 
            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 + Page0 - 
            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 + Page0 - 
            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).0 - 
            Has this been resolved cause I'm having the exact same problem, and neither my antivirus or firewall are blocking the mails.0
 - 
            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,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 - 
            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 + Page0 - 
            did you tried to use simple authentication?0
 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.6K Microsoft Dynamics NAV
 - 18.7K NAV Three Tier
 - 38.4K NAV/Navision Classic Client
 - 3.6K Navision Attain
 - 2.4K Navision Financials
 - 116 Navision DOS
 - 851 Navision e-Commerce
 - 1K NAV Tips & Tricks
 - 772 NAV Dutch speaking only
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions