Problem sending mail in version 4x

willywilly Member Posts: 67
Good news. Received a message from Microsoft today. They have found the reason and released a hotfix.

Hi! After upgrading to Navison version 4x we got problems sending emails using codeunit 397 (E-Mail).

The problem seems to be with the new version in use with outlook 2003 sp2.

I've read the previous post about the problem, but haven't found a solution yet.

We have tried to install the OleHandler.dll (was in fact the fix that Microsoft came up with) and Unistalling fax services but are still facing the same problem.

Do anyone have a suggestion or an solution??

I get the 0x00000a82 error from OApplication.Logon in the NewMessage function in codeunit 397 when I debug.
OApplication is an automation ='NS Outlook Synchronization Handler'.OApplication.

If I search msdn I find a description about the error that say:
NERR_DfsInternalError- A Dfs internal error occurred.

Answers

  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    What is the exact problem? What errormessage do you get?
  • thaugthaug Member Posts: 106
    Known problem with Office 2003 SP2. I'm not sure whether it is fixed in 4.0 SP2 or not.

    The only two ways to do this is to either use MAPI directly instead of the new automation objects, or downgrade to Office 2003 SP1. I remember seeing some code on CustomerSource that detailed some changes to the Mail CU, but I couldn't get it to work fully.
    There is no data, only bool!
  • jazzyjessjazzyjess Member Posts: 54
    hi i am having the same problem with Navision 4.0/Outlook 2003 SP2 combo. When the email icon on the Company Information form is clicked, nothing happens !
    I tried to use the old mail codeunit from 3.7, it does create a new mail but the Mail.AddBodyLine() function does not work....i am wondering if i go through all the trouble to downgrade outlook to SP1, will that AddBodyLine() function work in the new Mail codeunit in 4.0?
  • Miklos_HollenderMiklos_Hollender Member Posts: 1,598
    Are you sure you need to do this through Outlook and the SMTP mail sending OCX here in the downloads won't do?
  • jazzyjessjazzyjess Member Posts: 54
    yes i switched to using smtp....but it does not let user preview the mail so that they can click "send" whenever they are ready?
Sign In or Register to comment.