How to trigger test emails from Liferay?

Issue

  • We have configured our SMTP in Liferay.
  • We would like to test if emails are sent and received.
  • How can we trigger a test email from Liferay?

 

Environment

  • Liferay DXP 7.4

 

Resolution

  • You can use the attached groovy script to send an email from Liferay.
  • Change the script to add your own test email addresses.
  • Navigate to Control Panel > Server Administration > Script and paste the script there.
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 1 de 1