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 request-timeout/new_gist_file
liferay mail send test script (beanshell)
import com.liferay.util.mail.MailEngine; import javax.mail.internet.InternetAddress;
MailEngine.send(new InternetAddress("sender@domain.com"),
new InternetAddress("receip@gmail.com"),
"your-appointment-has-been-scheduled",
"HOLA", false);