Emails do not get delivered from the Jaspersoft server. All the relevant configurations are in place. The jasperserver.log shows the following message:
1914-03-19T14:24:55,143 ERROR ReportExecutionJob,quartzScheduler_Worker-1:457 [] - The job error notification was not completed. An error occurred while sending it.
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: 501 5.5.4 Invalid domain name
The following is a response obtained from the Mail server:
501 5.5.4 Invalid domain name
The issue is not specific to the Jaspersoft / Clarity application. A simple Java program to send an email also encounters this same message.