Interface EmailService

All Known Implementing Classes:
DummyEmailService, SmtpEmailService

public interface EmailService
Represents a service for sending emails.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    send(String to, String subject, String body)
    Sends an email to the specified recipient.
  • Method Details

    • send

      void send(String to, String subject, String body)
      Sends an email to the specified recipient.
      Parameters:
      to - the email address of the recipient
      subject - the subject line of the email
      body - the body content of the email