Interface IMailService
-
- All Known Implementing Classes:
MailService
public interface IMailService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsendMail(MailDraft mailDraft)voidsendPasswordResetEmail(RegisteredUser user)voidsendRegistrationEmail(RegisteredUser user)voidtestConnection()
-
-
-
Method Detail
-
sendRegistrationEmail
void sendRegistrationEmail(RegisteredUser user) throws javax.mail.MessagingException, java.io.IOException, freemarker.template.TemplateException
- Throws:
javax.mail.MessagingExceptionjava.io.IOExceptionfreemarker.template.TemplateException
-
sendPasswordResetEmail
void sendPasswordResetEmail(RegisteredUser user) throws javax.mail.MessagingException, java.io.IOException, freemarker.template.TemplateException
- Throws:
javax.mail.MessagingExceptionjava.io.IOExceptionfreemarker.template.TemplateException
-
testConnection
void testConnection()
-
sendMail
void sendMail(MailDraft mailDraft) throws javax.mail.MessagingException, java.io.IOException, freemarker.template.TemplateException
- Throws:
javax.mail.MessagingExceptionjava.io.IOExceptionfreemarker.template.TemplateException
-
-