-
-
Save baxtheman/a8d3628ae6428676de16cb00e1b542a9 to your computer and use it in GitHub Desktop.
liferay mail send test script (beanshell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.liferay.util.mail.MailEngine; import javax.mail.internet.InternetAddress; | |
MailEngine.send(new InternetAddress("[email protected]"), | |
new InternetAddress("[email protected]"), | |
"your-appointment-has-been-scheduled", | |
"HOLA", false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment