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

    Modifier and Type
    Method
    Description
    void
    sendEmail(String toEmail, String subject, String content)
    Send email.
  • Method Details

    • sendEmail

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