com.irisel.oms.mailer
Class MailManager
java.lang.Object
com.irisel.oms.mailer.MailManager
public class MailManager
- extends java.lang.Object
The MailManager class encapsulates the behaviors to send documents to users.
It relies on JEE server managed Mail service.
It relies also in the database, since the documents templates are taken from there.
- Author:
- Administrador
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailManager
public MailManager()
throws java.lang.Exception
- Throws:
java.lang.Exception
sendDocumentJavaMail
public void sendDocumentJavaMail(java.lang.String email,
java.lang.String documentName,
java.lang.String lang,
java.util.Map values)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInstance
public static MailManager getInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception