Package com.helixframework.email
Class DummyEmailService
java.lang.Object
com.helixframework.email.DummyEmailService
- All Implemented Interfaces:
EmailService
A dummy implementation of the
EmailService interface for simulating the behavior of sending emails.
This implementation logs the email details (recipient, subject, and body) without actually sending any email,
useful for testing or environments where email sending should be disabled.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DummyEmailService
public DummyEmailService()
-
-
Method Details
-
send
Description copied from interface:EmailServiceSends an email to the specified recipient.- Specified by:
sendin interfaceEmailService- Parameters:
to- the email address of the recipientsubject- the subject line of the emailbody- the body content of the email
-