Class EmailServiceImpl
java.lang.Object
com.espacogeek.geek.services.impl.EmailServiceImpl
- All Implemented Interfaces:
EmailService
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
EmailServiceImpl
public EmailServiceImpl()
-
-
Method Details
-
sendAccountVerificationEmail
Description copied from interface:EmailServiceSend account verification email to a new user- Specified by:
sendAccountVerificationEmailin interfaceEmailService- Parameters:
user- The user who needs to verify their accounttoken- The verification token
-
sendPasswordResetEmail
Description copied from interface:EmailServiceSend password reset email- Specified by:
sendPasswordResetEmailin interfaceEmailService- Parameters:
user- The user who requested password resettoken- The password reset token
-
sendEmailChangeVerificationEmail
Description copied from interface:EmailServiceSend email change verification email to the new email address- Specified by:
sendEmailChangeVerificationEmailin interfaceEmailService- Parameters:
user- The user changing their emailnewEmail- The new email addresstoken- The verification token
-
sendPasswordChangeConfirmationEmail
Description copied from interface:EmailServiceSend password change confirmation email- Specified by:
sendPasswordChangeConfirmationEmailin interfaceEmailService- Parameters:
user- The user who changed their password
-