Class EmailService


  • @Service
    public class EmailService
    extends Object
    Class represent service which is responsible for mail operations
    • Constructor Detail

      • EmailService

        public EmailService()
    • Method Detail

      • sendSimpleMessage

        public void sendSimpleMessage​(String to,
                                      String subject,
                                      String text)
        Sends email with given parameters
        Parameters:
        to - receiver of the email
        subject - subject of the email
        text - text of the email