Package com.tetsuwantech.atom.util
Class MailSender
- java.lang.Object
-
- com.tetsuwantech.atom.util.MailSender
-
public class MailSender extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MailSender.Message
-
Constructor Summary
Constructors Constructor Description MailSender()
MailSender(freemarker.template.Configuration freemarkerConfiguration, org.springframework.mail.javamail.JavaMailSender javaMailSender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
send(SubjectModel subject, MailSender.Message message, Map<String,Object> content)
void
setFreemarkerConfiguration(freemarker.template.Configuration freemarkerConfiguration)
void
setJavaMailSender(org.springframework.mail.javamail.JavaMailSender javaMailSender)
-
-
-
Method Detail
-
setFreemarkerConfiguration
public void setFreemarkerConfiguration(freemarker.template.Configuration freemarkerConfiguration)
-
setJavaMailSender
public void setJavaMailSender(org.springframework.mail.javamail.JavaMailSender javaMailSender)
-
send
@Async public void send(SubjectModel subject, MailSender.Message message, Map<String,Object> content)
-
-