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)

Request read receipt when sending email through X++

(0) ShareShare
ReportReport
Posted on by 925

Hello,

In Outlook, there is an option to request read receipt from receiver when he opens an email. I want to achieve it through X++ with SysMailer class and if I am right, it could be done with SysMailerFields.

I tried to pass it to SysMailer at new() method like this:

_fields.add("Disposition-Notification-To", "[...]@[...]");


But it's not working (or it is working, but my mail server refuses to pass it?). 

Did anybody do that kind of things and succeeded? I would appreciate your help, thanks! 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    SysMailer class has a method called quickSend, which can take a parameter for delivered and read receipts. Refer to the flag in the documentation, and to the method on the actual implementation:

    [View:https://msdn.microsoft.com/en-us/library/sysmailer.quicksend.aspx:750:50]

    The Priority flag is already implemented, if you check, it is in the priority method, and within the SysMailer macro the entry is set as 'urn:schemas:httpmail:importance' which is added to the fields, then "resynched".

    You would have to add the correct URN schema and tag for read receipts, which I believe is urn:schemas:mailheader:disposition-notification-to.

  • axk Profile Picture
    925 on at

    Thank you Vilmos! Found some information about doing it with quickSend(), but did not know how to use it. Thanks for explanation.

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans