Skip to content

Instantly share code, notes, and snippets.

@request-timeout
Created November 19, 2013 20:58
Show Gist options
  • Save request-timeout/7552462 to your computer and use it in GitHub Desktop.
Save request-timeout/7552462 to your computer and use it in GitHub Desktop.
liferay mail send test script (beanshell)
import com.liferay.util.mail.MailEngine; import javax.mail.internet.InternetAddress; MailEngine.send(new InternetAddress("asd@asd.com"), new InternetAddress("lombareload@gmail.com"), "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