Created
November 19, 2013 20:58
-
-
Save pseudorandoom/7552462 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