|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.notification.mail.MailMessageSender
public class MailMessageSender
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
MailMessageSender()
Default public constructor. |
|
MailMessageSender(javax.mail.Session session)
Public constructor. |
Method Summary | |
---|---|
javax.mail.internet.MimeMessage |
createMimeMessage(Message message)
Converts the message object to a mime message in order to prepare it to be sent. |
void |
send(Message message)
Send the message. |
void |
setMailSession(javax.mail.Session session)
Set javamail session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
Constructor Detail |
---|
public MailMessageSender()
public MailMessageSender(javax.mail.Session session)
session
- Method Detail |
---|
public void setMailSession(javax.mail.Session session)
session
- public void send(Message message) throws MessageException
send
in interface MessageSender
message
- the message to be sent
MessageException
public javax.mail.internet.MimeMessage createMimeMessage(Message message) throws java.lang.Exception
message
-
java.lang.Exception
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |