public class MailServiceImpl extends Object implements MailService
Constructor and Description |
---|
MailServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected MailMessage |
composeMessage(MailMessage message) |
String |
getBatchMailingList() |
protected MailMessage |
getNonProductionMessage(MailMessage message) |
String |
getNonProductionNotificationMailingList() |
boolean |
isRealNotificationsEnabled() |
void |
sendMessage(MailMessage message)
This overridden method ...
|
void |
setBatchMailingList(String batchMailingList)
Sets the batchMailingList attribute value.
|
void |
setMailer(Mailer mailer)
The injected Mailer.
|
void |
setNonProductionNotificationMailingList(String nonProductionNotificationMailingList) |
void |
setRealNotificationsEnabled(boolean realNotificationsEnabled) |
public MailServiceImpl()
public void setBatchMailingList(String batchMailingList)
batchMailingList
- The batchMailingList to set.public String getBatchMailingList()
getBatchMailingList
in interface MailService
MailService.getBatchMailingList()
public void sendMessage(MailMessage message) throws InvalidAddressException, javax.mail.MessagingException
sendMessage
in interface MailService
javax.mail.MessagingException
InvalidAddressException
MailService.sendMessage(org.kuali.rice.core.api.mail.MailMessage)
protected MailMessage composeMessage(MailMessage message)
public String getNonProductionNotificationMailingList()
public void setNonProductionNotificationMailingList(String nonProductionNotificationMailingList)
nonProductionNotificationMailingList
- the nonProductionNotificationMailingList to setpublic boolean isRealNotificationsEnabled()
public void setRealNotificationsEnabled(boolean realNotificationsEnabled)
realNotificationsEnabled
- the realNotificationsEnabled to setprotected MailMessage getNonProductionMessage(MailMessage message)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.