Prevent AX Reports from Auto-Sending via Outlook Email

Requirement: When choosing email as the report destination in, allow the user to edit the email contents in Outlook rather than automatically sending.

A number of users have been concerned that outlook automatically sends email destination reports, rather than allowing them to first modify or verify the email, subject and addresses in a “new email” window.

Solution: To fix this you can modify the “SRSReportRunMailer.emailReport” method. Depending on your version of AX, modify the section around line 41 as below.

result = inetMailer.sendMailAttach(_emailContract.parmTo(),
                                   true, /* Ensure dialog is shown */
                                  //original false, /* do not show dialog*/



Leave a Reply

Your email address will not be published.