|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kcb.service.impl.EmailServiceImpl
public class EmailServiceImpl
This class is responsible for implementing the service that sends emails to individuals.
Constructor Summary | |
---|---|
EmailServiceImpl()
|
Method Summary | |
---|---|
Long |
sendEmail(MessageDelivery messageDelivery,
String recipientEmailAddress,
String emailFormat)
First constructs the appropriately formatted mail message then sends it off. |
protected void |
sendEmail(String message,
String subject,
String from,
String sendTo,
String format)
do the actual sending. |
void |
setDefaultSender(String defaultSender)
Sets the default sender address to use if no valid producer email address was specified in the message |
void |
setWeburl(String weburl)
Sets the weburl attribute value (injected from Spring). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmailServiceImpl()
Method Detail |
---|
public void setWeburl(String weburl)
weburl
- public void setDefaultSender(String defaultSender)
defaultSender
- the default sender address to use if no valid producer email address was specified in the messagepublic Long sendEmail(MessageDelivery messageDelivery, String recipientEmailAddress, String emailFormat) throws Exception
sendEmail
in interface EmailService
Exception
org.kuali.rice.kcb.service.EmailService#sendNotificationEmail(org.kuali.rice.kcb.bo.MessageDelivery, java.lang.String, java.lang.String)
protected void sendEmail(String message, String subject, String from, String sendTo, String format)
message
- message contentsubject
- subject of messagefrom
- sender of messagesendTo
- recipient of messageformat
- text or html
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |