CodeUnit 397 issues when trying to send mail

westry016westry016 Member Posts: 15
Hi All,

I have a client who uses Nav2009 Sp1.
They were previously using Lotus Notes to handle their emails.
They have just recently rolled out Office 2010 and have now decided to use Outlook 2010 to handle all emails
As a result all email sent from NAV using codeunit 397 NewMessage function is not allowing any email to be sent.

Its failing with the OApplication.Logon.
IF (NOT OApplication.Logon(TRUE,'','',FALSE,FALSE)) THEN BEGIN
  OApplication.Logoff;
  EXIT
END;

Has anyone solved this issue already.

If so? How?

Comments

  • KYDutchieKYDutchie Member Posts: 345
    Hi,

    Are they using the 64 Bit version of Outlook 2010?
    We are having issues with one of our customers who installed it against our recommendations since it is known to be incompatible.

    Thanks,

    Willy
    Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
  • ppavukppavuk Member Posts: 334
    Only 32 bit version of MS office is supported for SP1.
  • westry016westry016 Member Posts: 15
    Cool thanks for the feedback!
    Is there any documentation that explains this.

    Then another question
    Does Nav2009 SP2 support 64bit ?
  • KYDutchieKYDutchie Member Posts: 345
    Here is the link to technet where it is explained what is compatible with Office (Outlook) 2010 64 bit:

    http://technet.microsoft.com/en-us/library/ee681792%28office.14%29.aspx

    I don't think that 2009R2 is compatible with Outlook 2010 64 bit.
    Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
  • jayshynejayshyne Member Posts: 29
    Hi,

    I am currently facing the exact same issue. I can confirmed the version of Office being used is 32 bit. Is there any reason why this is also not working? Is there a way around it?
  • davmac1davmac1 Member Posts: 1,283
    Have you tried using codeunit 400 instead? I have found it to be far more functional.
  • jayshynejayshyne Member Posts: 29
    Yes I have but I keep getting the following error

    "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"

    And I really want to know why CU 397 throws up that error.
Sign In or Register to comment.