Jaspersoft Community 'Read-Only' as of July 8, 2022
Transition to New TIBCO Community Just Weeks Away
You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.
2 Answers:
It looks liek a secutiry certificate issue in the SSL connection to the Google Mail SMTP (which uses smtps protocol). Make sure your configuration is correct.
i.e. check that /jasperserver-pro/WEB-INF/applicationContext-report-scheduling.xml looks something like this:
<property name="javaMailProperties"> <props> <prop key="mail.smtps.auth">true</prop> <prop key="mail.smtps.starttls.enable">true</prop> </props> </property>
- and this blog post http://www.ricardomalla.com/?p=528
OK, now the error has changed. " Mail server connection failed;" So it looks like there may be an issue with the Gmail connection, do anything else shows in the logs?
Have you enabled 2 factor auth? https://galleryserverpro.com/use-gmail-as-your-smtp-server-even-when-usi...
Have you turned on Google’s ‘less secure apps’ setting?
Can you access that Gmail account from another SMTP server? You can probably test using the console. something like:
openssl s_client -connect smtp.gmail.com:587
or
openssl s_client -connect smtp.gmail.com:465 -starttls smtp
You can see this thread as an example: http://stackoverflow.com/questions/1516754/connecting-to-smtp-gmail-com-...
remember that for Gmail port 587 forces the connection to use TLS and port 465 is for implicit SSL
Since you are using Google Apps you may save yourself a lot of headaches by using "smtp-relay.gmail.com" wich allows you to setup standard connections on port 25 by whilelisting your app IP address, Check this: https://support.google.com/a/answer/176600?hl=en
Hi,
Thanks for the message. I tried below mentioned options and still I am getting error
- The job error notification was not completed. An error occurred while sending it.
Thanks,
Gowri