Interface MailService

All Known Implementing Classes:
MailServiceImpl

@Service public interface MailService
A service used for sending emails.
  • Method Summary

    Modifier and Type
    Method
    Description
    sendMail(Report report)
    Sends an email to the specified address.
  • Method Details

    • sendMail

      String sendMail(Report report) throws jakarta.mail.MessagingException
      Sends an email to the specified address.
      Parameters:
      report - The report to send.
      Returns:
      An informational message.
      Throws:
      jakarta.mail.MessagingException