web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Linking NAV emails with outlook

(0) ShareShare
ReportReport
Posted on by

Hey Guys, i have created a page for sending an email and an action linked with it , when i click the respective button it should open the email in outlook, but it isnt functioning right now . i have called only CreateMessage of codeunit 397 . Any suggestions ??? Thank you in advance

*This post is locked for comments

I have the same question (0)
  • Verified answer
    I Gusti Made Ari Profile Picture
    3,600 on at

    Please try following code :

    IF Mail.TryInitializeOutlook THEN

      Mail.NewMessage(ToAddresses,CCAddresses,BCCAddresses,Subject,BodyText,AttachFileNameText,TRUE);

    ELSE

     ERROR('Outlook cannot be started');

    Name DataType Subtype Length

    ToAddresses Text

    CCAddresses Text

    BCCAddresses Text

    Subject Text

    BodyText Text

    AttachFileNameText Text

    Mail  Codeunit 397

  • Community Member Profile Picture
    on at

    Firstly ,thank you for responding

    I have already used initialize function but it prints me error ,can't even initialize outlook.

  • I Gusti Made Ari Profile Picture
    3,600 on at

    what is the error ?

    have you installed the outlook add in ?

  • Community Member Profile Picture
    on at

    I just called TryInitializeOutlook but it printed  False as it is a boolean.

    Iinstalled sopmething of outlook from Nav Setup. Is there anything else i have to do ?

  • I Gusti Made Ari Profile Picture
    3,600 on at

    what is your outlook version ?

    for NAV 2018 , for outlook integration minimum version is office 2013 SP1.

    docs.microsoft.com/.../system-requirements-for-microsoft-dynamics-nav

  • Community Member Profile Picture
    on at

    Microsoft Outlook for Office 365 MSO (16.0.11231.20164) 32 bit . Sorry i didnt say its Business Central

  • Community Member Profile Picture
    on at

    Thank you so much . I tried it again and it worked. Thanks :)))))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans