Created
July 17, 2018 08:28
-
-
Save baxtheman/9dcb3e939e572af9f34b7bb75d3426de to your computer and use it in GitHub Desktop.
Liferay, mail send test script (via 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]"), | |
"test email sub", "HOLA, this is the body", false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment