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