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 AX (Archived)

COM object error while sending an email

(0) ShareShare
ReportReport
Posted on by 1,260

Hi,

I have a requirement to send email copy of Purchase Order from the buyer's email address directly from AX.

I am getting the following errors while sending an email.

1. COM object of class 'outlook.application' could not be created. Ensure that the object has been properly registered on computer '***********'

2. Object 'COM' could not be created.

3. Mail error: Unknown MAPI error.

Purchase-order-email-from-AX.jpg

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,959 Most Valuable Professional on at

    Is it a customization? If so, what's your code? It looks like it depends on Outlook which isn't installed on the machine where it executes.

  • Verified answer
    Daljit Kaur Rahsi Profile Picture
    1,260 on at

    Martin,

    It is not customized. I realized later that if you don’t have Outlook setup (for instance you’re logged on to a terminal server for Dynamics AX but you run Outlook as an app on desktop), we will get error.

  • Hasan Bilgin Profile Picture
    30 on at

    Hi Meethu;

    Is there any solution when Outlook is open on the terminal server/PC? 

    If Outlook is closed, there is not error,  but outlook is openned, there is an error like yoour error. please help...

  • Shakil Sama Profile Picture
    20 on at

    Hello Hasan,

    I am also facing same issue. If outlook is closed, mails will be triggered, but if open then the same error will be thrown.

    How did you solved that? Any help will be appreciated.

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans