Problem:
Scheduled job is failing to send email notifications when it has huge data with the error -
ERROR SecureExceptionHandlerImpl,JasperServerScheduler_Worker-1:125 - There was an error on the server. Try again or contact site administrators. (Error UID: df75204d-4e03-4b28-a690-3b66f62d7892) org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big
; message exception details (1) are:
Failed message 1:
com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2358)
...
Cause:
This error - message file too big - means the file size as an email attachment is too big to be sent via an email, as set by your mail server.
Solution:
JasperReports Server does not have an in-built mail server. The configuration needs a mail server outside of the application in order for the scheduler to send email notifications and distribute reports.
You may want to contact your server administrator responsible for the mail server setup to determine what is the allowable maximum mail message size and if it is possible to increase this limit.
_____________________________________________________________________________________________________________________________________________________________
Ref. Case #02127913
-
Scheduled job is failing to send email notifications when it has huge data with the error - Failed message 1: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big
Table of contents
User Feedback
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now