org.nuxeo.ecm.platform.ec.notification.email
Class EmailHelper
java.lang.Object
org.nuxeo.ecm.platform.ec.notification.email.EmailHelper
public class EmailHelper
- extends Object
Class EmailHelper.
An email helper:
Hashtable mail = new Hashtable();
mail.put("from", "dion@almaer.com");
mail.put("to", "dion@almaer.com");
mail.put("subject", "a subject");
mail.put("body", "the body");
<p>
EmailHelper.sendmail(mail);
Currently only supports one email in to address
EmailHelper
public EmailHelper()
sendmail
public void sendmail(Map<String,Object> mail)
throws Exception
- Static Method: sendmail(Map mail).
- Parameters:
mail
- A map of the settings
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.