Class MailServiceImpl
java.lang.Object
com.markvarga21.studentmanager.service.mail.impl.MailServiceImpl
- All Implemented Interfaces:
MailService
A service used for sending emails.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HTML_BODY
The HTML body of the email.- See Also:
-
-
Constructor Details
-
MailServiceImpl
public MailServiceImpl()
-
-
Method Details
-
sendMail
The method responsible for sending an email.- Specified by:
sendMail
in interfaceMailService
- Parameters:
report
- The report to send.- Returns:
- An informational message.
- Throws:
jakarta.mail.MessagingException
-