Codeunit SMTP Mail with port 2525

JEyton
Member Posts: 33
I am using codeunit 400 "SMTP Mail" to send an pdf document.
The problem is that I get the following error message when I try to send the mail:
"The transport failed to connect to the server"
I have tried to connect to the smtp server using telnet on port 2525 and have no problem with this. So I have connection with the smtp server.
Is it possible to send mail using codeunit "SMTP Mail" with port 2525? As I understand the standard port is 25.
The problem is that I get the following error message when I try to send the mail:
"The transport failed to connect to the server"
I have tried to connect to the smtp server using telnet on port 2525 and have no problem with this. So I have connection with the smtp server.
Is it possible to send mail using codeunit "SMTP Mail" with port 2525? As I understand the standard port is 25.
0
Comments
-
Yes the smtp setup and the smtp COM object do not have a port.
You could try to put ip:Port in the smtp server field in the smtp mail setup table.
The other option is to use Jmail.dll or smtp ocx that is in download folder.0 -
I tried to put the port after the ip to the server but that didnt work.
I go for the Jmail.dll instead.
Thanks for your reply0 -
No Problem.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
- 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