Hello,
I have been trying to send e-mails from NAV. First I tried Mail (397) codeunit but it failed on every client except on my own computer. On other clients NAV complaints that Outlook is not the default e-mail program, but it is. So I decided to try SMTP Mail (400) codeunit. But it even didn't work on my own computer.
I figured out that Mail codeunit tries to logon Outlook using the default profile, but fails anyway. And SMTP Mail fails because the SMTP server requires logon using SPA. But this cannot be specified anyhow.
Which alternative can be done?
Cem Karaer @ Pargesoft
Dynamics NAV Developer since 2005
0
Answers
Microsoft Dynamics NAV Classic
The SMTP mail system returned the following error: (0x8004020E): The server rejected the sender address. The server response was: 530 5.7.0 Must issue a STARTTLS command first. a27sm27542483bku.9
OK
So now I decided to use the JMAIL objects but its configuration is over-tedious and external dlls must be installed to the client machines which I especially refrain to do. The most viable solution seems to be Outlook synchronization. But the Mail codeunit is making fuss.
Any ideas?
Dynamics NAV Developer since 2005
Follow my blog at http://x-dynamics.blogspot.com
Sent from my LT15i using Tapatalk
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 2009
Here is what I learned from this case:
1. NAV's SMTP mail (400) doesn't support SPA authentications.
2. NAV's Outlook integration (397) doesn't support 64-bit Outlook.
With further comments, we can learn more about NAV's mail system.
Dynamics NAV Developer since 2005