Cannot send e-mail new SMTP provider

edwinschutten
Member Posts: 18
We want to use a SMTP server from a new provider. When I tried to send a test e-mail I get the error message "Unable to read data from the transport connection: net_io_connectionclosed..".
The provider told me that they use explicit SSL and that probably Business Central (.NET) use implicit SSL.
How do I change this, I can't find a property were I can change implicit/explicit SSL?
The provider told me that they use explicit SSL and that probably Business Central (.NET) use implicit SSL.
How do I change this, I can't find a property were I can change implicit/explicit SSL?
0
Answers
-
What version?Kyle Hardin - ArcherPoint0
-
Microsoft Dynamics 365 Business Central NAV 14.0 (14.0.34251.0)0
-
There isn't a property that controls what type of SSL is used. But I think the port is what controls that. I know Office 365 wants port 587. What port does your provider say you should use?
Here's an article on port 587 versus 25.
https://www.mailgun.com/blog/which-smtp-port-understanding-ports-25-465-587/
Note that this article also shows an example of how you can use telnet from a command line to help troubleshoot. I suspect that either you are using the wrong port, or that authentication is failing, but that is getting reported to you as a connection close error. But you can get BC out of the way and test with a command line.Kyle Hardin - ArcherPoint0 -
The supplier is using port 465. When I use Gmail on port 587 it is working fine. But I think (and also the supplier) that is an implicit/explicit SSL problem.0
-
That is not a setting that BC will let you control. You can go look at the code in C400 SMTP Mail, but all of the heavy lifting is done in a DotNet DLL, not in C/AL or AL.Kyle Hardin - ArcherPoint0
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
- 320 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