CU 397 Mail and Logon error on TS with Outlook Express

kine
Member Posts: 12,562
NAV 4.0SP3
Our customer is using the standard CU 397 for sending mails. No problems on PC, but some users are connecting through Terminal Server and the mail sending is not working. Process ends on the
because the Logon failed. On TS there is no MS Outlook, just configured Outlook Express (working correctly, sending mails without problems...). Have you some tips for me? Right now I am in situation, when I am not sure, if the standard CU 397 is working with Outlook Express or the MS Outlook is needed.
Thanks for any tip... 8)
Our customer is using the standard CU 397 for sending mails. No problems on PC, but some users are connecting through Terminal Server and the mail sending is not working. Process ends on the
IF (NOT OApplication.Logon(TRUE,'','',FALSE,FALSE)) THEN BEGIN OApplication.Logoff; EXIT END;
because the Logon failed. On TS there is no MS Outlook, just configured Outlook Express (working correctly, sending mails without problems...). Have you some tips for me? Right now I am in situation, when I am not sure, if the standard CU 397 is working with Outlook Express or the MS Outlook is needed.
Thanks for any tip... 8)
0
Comments
-
If I remember correctly, until 3.7 MAPI was used, so it means it used the standard email program (Outlook Express or MS Outlook).
After that it uses MS Outlook and not MAPI anymore.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
All that I know is that the mail codeunit is completely redesigned in 4.00 . The way of sending mails: it uses the "outlook synch handler", which SEEMS a wrapper dll for the dll you get when installing outlook.
That's why I would try to install the CDO...0 -
This is what I assumed... it seems like VPC will be correct way how to do some research. Thanks for the hints. 8)I guess it's using the logon-functionality of the default mail profile on the PC. Is there a profile installed?
(Control Panel / Mail)
This control panel is available after MS Outlook installation, not just with Outlook Express... :-s0 -
First step will be to install CDO, after that, we will see if it helps.0
-
New info:
Installing CDO - no positive effect (just CDO without MS Outlook)
Using error text and erro no. after login:
Error No: 2427
Error Text: An Error has occured while logging on the MAPI session
Outlook express is set as default, there is default profile for the OE.0 -
Have you ever found a solution for this error?
I have the same problem with a user on TS while other users can connect without problems0 -
It is long time, I do not remember. But in most cases the solution was to use newest OLHandler.dll0
-
If you insist to use Outlook Express and not Outlook on the TS you should read the knowledgebase article KB896888
https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?WTNTZSMNWUKNTMMYKKQRRUZVRPSSXNSNLRZQMYKMOUUTZXMKZRTYPMMTKOPMTTPL
change the code in the Mail codeunit (397) and in the To-do Handler codeunit (5073) according to KB896888Regards
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 20090
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