Interface EmailService

All Known Implementing Classes:
EmailServiceImpl

public interface EmailService
Interface for sending emails. This service provides a method to send an email with a subject and body to a specified recipient.
  • Method Summary

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

    • send

      void send(String email, String subject, String body)
      Sends an email with the given subject and body to the specified recipient.
      Parameters:
      email - the recipient's email address
      subject - the subject of the email
      body - the body content of the email