Class EmailSenderServiceSecuredImpl
- java.lang.Object
-
- co.mastermindcms.modules.services.EmailSenderServiceSecuredImpl
-
- All Implemented Interfaces:
EmailSenderServiceSecured
@Service public class EmailSenderServiceSecuredImpl extends java.lang.Object implements EmailSenderServiceSecured
-
-
Field Summary
Fields Modifier and Type Field Description org.springframework.mail.javamail.JavaMailSenderemailSender
-
Constructor Summary
Constructors Constructor Description EmailSenderServiceSecuredImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsendSimpleEmail(java.lang.String to, java.lang.String subject, java.lang.String text)This method send a email.
-
-
-
Method Detail
-
sendSimpleEmail
@Async("asyncTaskExecutor") public void sendSimpleEmail(java.lang.String to, java.lang.String subject, java.lang.String text)Description copied from interface:EmailSenderServiceSecuredThis method send a email.- Specified by:
sendSimpleEmailin interfaceEmailSenderServiceSecured- Parameters:
to- field database entity whose will be send emailsubject- field for database entity and subject for emailtext- field for database entity and content for email
-
-