IriusRisk comes with an out-of-the-box email server that users can simply use upon logging in. The email server is quite a crucial feature as it enables users to do the following:
- Send a password reset email
- Invite users to the platform via email
The email server that IriusRisk comes packaged with uses the following DNS and port:
- DNS: smtp.gmail.com
- Port: 465
It is important for on-premises customers to have the DNS and port whitelisted, because if it is not then the connection will time out, which will ultimately mean users will not receive any emails from the platform.
Can I add my own mail server?
It is possible for users to add their own mail server to the platform, this can be done by navigating to the following:
Login to IriusRisk > Settings > Email
See the image below:
As a user, you must input the correct data for your email server and finally, to test your email server is working you can use the 'Send test email' button to verify that IriusRisk can communicate with the mail server.
** Note: Remember to untick the checkbox for 'Use IriusRisk email server **
Common Mail Server Issues for On-premise customers:
On-premise customers must ensure they allow connectivity over the DNS and port mentioned above - if the connection fails then check the logs for the following error:
2023-09-20 03:03:28.873 1953502260 [pool-6-thread-4] ERROR com.iriusrisk.notification.MailExecutorService - Failed to send email
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 465; timeout -1;
This would suggest the port/DNS is blocked from the server hosting IriusRisk - To verify this you can run:
$ telnet smtp.gmail.com 465
If the connection hangs, then speak internally with your network/infrastructure team as they will need to whitelist the DNS/port from the server hosting IriusRisk.