Class EmailServiceImpl
java.lang.Object
org.example.crmedu.infrastructure.service.EmailServiceImpl
- All Implemented Interfaces:
EmailService
Implementation of
EmailService
for sending emails.
Uses JavaMailSender
to send MIME-formatted emails with support for HTML content.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EmailServiceImpl
public EmailServiceImpl()
-
-
Method Details
-
sendMail
Description copied from interface:EmailService
Sends email to specific mail-address.- Specified by:
sendMail
in interfaceEmailService
- Parameters:
to
- an email address of the consumersubject
- the subject of the mailtext
- the text of the mail
-