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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Fault finding print management SMTP

(0) ShareShare
ReportReport
Posted on by 692

Hi

I get the following error and stack trace when I try to send a document using print management that has been setup for emailing:

Error executing code: SrsReportRunMailer object not initialised.

Stack trace

(C)\Classes\SrsReportRunMailer\emailReport - line 37

(C)\Classes\SrsReportRunPrinter\toEmail - line 36

(C)\Classes\SrsReportRunPrinter\printReport - line 38

(C)\Classes\SrsReportRunService\runReport - line 43

(C)\Classes\SrsReportRunImpl\runReport - line 7

(C)\Classes\SrsPrintMgmtController\runReport - line 65

(C)\Classes\PrintMgmtReportRun\execute - line 41

(C)\Classes\FormLetterReport\execute - line 10

When I debug the code, an exception is thrown from the method sendMail() in the SysMailerNet class. The code is calling the Send method on the .net object System.Net.Mail.SmtpClient and I cannot see the real exception message. Does anyone have any suggestions for how to troubleshoot this and find out the cause please?

Any help would be much appreciated.

Thanks,
Joe

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    HI Joe,

    Can you elaborate on the setup you have done and if you have any customizations in this area?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans