Interface EmailService

  • All Known Implementing Classes:
    EmailServiceImpl
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface EmailService
    The Interface EmailService.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void sendEmail​(java.lang.String toEmail, java.lang.String subject, java.lang.String content)
      Send email.
    • Method Detail

      • sendEmail

        void sendEmail​(java.lang.String toEmail,
                       java.lang.String subject,
                       java.lang.String content)
        Send email.
        Parameters:
        toEmail - the to email
        subject - the subject
        content - the content