Class MailServiceImpl

java.lang.Object
it.unimib.unimibmodules.service.MailServiceImpl
All Implemented Interfaces:
MailService

@Component("mailServiceImpl") public class MailServiceImpl extends Object implements MailService
Service for sending emails.
Version:
0.4.1
Author:
Davide Costantini
  • Field Details

    • logger

      private static final org.apache.logging.log4j.Logger logger
  • Constructor Details

    • MailServiceImpl

      public MailServiceImpl()
  • Method Details

    • sendMail

      public void sendMail(String recipientAddress, String subject, String text)
      Send email to the specified addreess, with specified subject and text.
      Specified by:
      sendMail in interface MailService
      Parameters:
      recipientAddress - the recipient's email addrss
      subject - the subject of the email
      text - the text of the email