Class MessagingServiceImpl
java.lang.Object
net.andresbustamante.yafoot.messaging.services.impl.MessagingServiceImpl
- All Implemented Interfaces:
MessagingService
-
Constructor Summary
ConstructorsConstructorDescriptionMessagingServiceImpl
(org.springframework.mail.javamail.JavaMailSender mailSender) -
Method Summary
-
Constructor Details
-
MessagingServiceImpl
public MessagingServiceImpl(org.springframework.mail.javamail.JavaMailSender mailSender)
-
-
Method Details
-
sendEmail
@Async public void sendEmail(String destinationEmail, String subject, String content) throws ApplicationException Description copied from interface:MessagingService
Sends a plain text email message with a specific subject to a single destination.- Specified by:
sendEmail
in interfaceMessagingService
- Parameters:
destinationEmail
- Email address of the destinationsubject
- Subject of the messagecontent
- Content of the message- Throws:
ApplicationException
-