Insights mail configuration error while installation

Hi Team,

When trying to configure Insights mail setting, getting the error as “Could not validate the SMTP configuration. Please check the logs for more details.”

Could any one help on this or suggest what can be done?

Thanks!