Hello All,
I am trying to send "Customer Statement of accounts" via email. Whenever I try to send email to customers via batch I always get an error. Although it works fine when I send directly i.e. without any batch.
I have tried all the solutions I could find online. However, those solutions didn't work for me.
I have configured the SMTP and Email parameter as per the below link.
docs.microsoft.com/.../configure-email-functionality-in-microsoft-dynamics-ax
The error message I got :
"Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.SrsPrintMgmtController.Outputreports() in SrsPrintMgmtController.outputReports.xpp:line 96
at Dynamics.Ax.Application.CustAccountStatementExtController.Runprintmgmt() in CustAccountStatementExtController.runPrintMgmt.xpp:line 116
at Dynamics.Ax.Application.SrsPrintMgmtController.Run() in SrsPrintMgmtController.run.xpp:line 14
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)
Also, I have generated full CIL successfully. Still, the error persists.
Thanks in advance.
*This post is locked for comments