Skip to content

Instantly share code, notes, and snippets.

View baxtheman's full-sized avatar

Daniele Baggio baxtheman

View GitHub Profile
@baxtheman
baxtheman / MailEngine.beanshell
Last active October 15, 2018 07:47 — forked from pseudorandoom/new_gist_file
liferay mail send test script (beanshell)
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);