SMTP authentication - basic doesn't work, NTLM does

afarr
Member Posts: 287
There are many mibuso posts about sending mails through SMTP in NAV.
We have NAV 2009 R2 on SQL (both Classic and RTC).
When SMTP Setup in NAV is set to NTLM Authentication, we can send emails without problem.
When we use Basic Authentication, and try sending mail to an address that is outside the domain, we get:
The username and password specified in SMTP Setup are valid, and they are used successfully to send mail using Outlook, but in NAV we get that error.
The IT administrator temporarily removed all validations, thus making the Exchange server an open relay, and we still got the same error message.
What can we do about it?
I have a second question -- What credentials are used when sending mail with NTLM Authentication?
We have NAV 2009 R2 on SQL (both Classic and RTC).
When SMTP Setup in NAV is set to NTLM Authentication, we can send emails without problem.
When we use Basic Authentication, and try sending mail to an address that is outside the domain, we get:
The SMTP mail system returned the following error: Transaction failed. The server response was: 5.7.1 <abc@external-email.com>: Relay access denied
The username and password specified in SMTP Setup are valid, and they are used successfully to send mail using Outlook, but in NAV we get that error.
The IT administrator temporarily removed all validations, thus making the Exchange server an open relay, and we still got the same error message.
What can we do about it?
I have a second question -- What credentials are used when sending mail with NTLM Authentication?
Alastair Farrugia
0
Comments
-
I suppose NTLM authentication uses Windows user credentials (on the Navision Server likely the service user's).
Do you specify the foreign email address as SenderAddress?0 -
Thanks for the reply.
I am using the foreign email as Recipient, not as Sender.
NAV (and our Exchange Server) allow any address to be used as 'Sender', even addresses that don't exist - it's only a caption that appears on the email.Alastair Farrugia0
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