I have a client who is running NAV 2009 in production. They regularly send SMTP e-mails without error. They are in the process of upgrading to NAV 2015. On their NAV 2015 test server, which is different from the 2009 production server but on the same network, the SMTP TrySend function (codeunit 400) returns this error:
"Specified argument was out of the range of valid values. Parameter name: value."
The SMTP Setup table settings are the same in both NAV versions. Does anyone know how to troubleshoot this?
Sam
*This post is locked for comments
I realise you've probably figured this out by now, but for others experiencing the same issue, you need to populate the 'Port' field on SMTP Mail Setup. This should be 25 in most cases.
Cheers,
Sam
check if the server, where nav 2015 resides, is correctly installed and configured within/for the AD.
check the events in windows eventviewer on the server. is there an according entry ?
As I mentioned in my post, the SMTP setting in 2015 are the same as in 2009, which is working fine.
check the SMTP setup. seems that one of the given values is not correct.
within function TrySend following code is called:
WITH SMTPMailSetup DO
Mail.Send("SMTP Server", "SMTP Server Port",
Authentication <> Authentication::Anonymous,
"User ID", Password, "Secure Connection");
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156