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)

how to send emails from ax 2012 through SMTP?

(0) ShareShare
ReportReport
Posted on by

i need to send all alerts to the mail ids provided in the smtp.

regards
rajesh mahato

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Have you checked the following post?

    corbitech.com/.../sending-email-via-smtp-using-x-and-net-framework-in-dynamics-ax

    Best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    Hi Ludwig,

    the above code showing error message " CLRObject could not be created".

    regards

    rajesh mahato

  • Community Member Profile Picture
    on at

    Hi Sukrut,

    Its running fyn but everytime the status is failed...

    help me out

    regards

    Rajesh Mahato

  • Community Member Profile Picture
    on at

    Hi Sukrut,

    the following error is thrown on this code community.dynamics.com/.../sending-email-using-x-code-dynamics-ax-2012

    error ::

    Method 'send' in COM object of class 'CDO.Message' returned error code 0x80040213 (<unknown>) which means: The transport failed to connect to the server.

    regards

    Rajesh Mahato

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Fix your SMTP settings, or firewall access for the communication ports on your mail server.

    Here is a Microsoft blog article which assists with troubleshooting SMTP issues:

    blogs.msdn.microsoft.com/.../isolate-issues-related-to-e-mail-not-sending-from-dynamics-ax-2012-using-the-smtp4dev-tool

    If you are not using your own Exchange server or Office365 mail server but a public provider, additional setup might be required for those such as enabling TLS communication channels, installing certificates, etc. You may use Google search to find it for your specific case.

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