Package passport.roles
Interface EmailService
- All Known Implementing Classes:
DisabledEmailService
public interface EmailService
Interface for sending emails within the application. This allows different
implementations of the email sending functionality to be swapped in and out
without affecting the core business logic, crucial for testing purposes.
-
Method Summary
-
Method Details
-
send
Sends an email document.- Parameters:
email
- the email document to send
-