Package ubic.gemma.core.mail
Interface MailEngine
- All Known Implementing Classes:
MailEngineImpl
public interface MailEngine
- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Send a templated email message.void
sendMessageToAdmin
(String subject, String bodyText) Send an email message to the administrator.
-
Method Details
-
sendMessageToAdmin
void sendMessageToAdmin(String subject, String bodyText) throws org.springframework.mail.MailException Send an email message to the administrator.- Throws:
org.springframework.mail.MailException
-
sendMessage
void sendMessage(String to, String subject, String templateName, Map<String, Object> model) throws org.springframework.mail.MailExceptionSend a templated email message.- Throws:
org.springframework.mail.MailException
-