Package com.espacogeek.geek.services
Interface EmailService
- All Known Implementing Classes:
EmailServiceImpl
public interface EmailService
Service interface for sending emails
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendAccountVerificationEmail(UserModel user, String token) Send account verification email to a new uservoidsendEmailChangeVerificationEmail(UserModel user, String newEmail, String token) Send email change verification email to the new email addressvoidSend password change confirmation emailvoidsendPasswordResetEmail(UserModel user, String token) Send password reset email
-
Method Details
-
sendAccountVerificationEmail
Send account verification email to a new user- Parameters:
user- The user who needs to verify their accounttoken- The verification token
-
sendPasswordResetEmail
Send password reset email- Parameters:
user- The user who requested password resettoken- The password reset token
-
sendEmailChangeVerificationEmail
Send email change verification email to the new email address- Parameters:
user- The user changing their emailnewEmail- The new email addresstoken- The verification token
-
sendPasswordChangeConfirmationEmail
Send password change confirmation email- Parameters:
user- The user who changed their password
-