Class EmailServiceImpl

java.lang.Object
com.espacogeek.geek.services.impl.EmailServiceImpl
All Implemented Interfaces:
EmailService

@Service public class EmailServiceImpl extends Object implements EmailService
  • Constructor Details

    • EmailServiceImpl

      public EmailServiceImpl()
  • Method Details

    • sendAccountVerificationEmail

      public void sendAccountVerificationEmail(UserModel user, String token)
      Description copied from interface: EmailService
      Send account verification email to a new user
      Specified by:
      sendAccountVerificationEmail in interface EmailService
      Parameters:
      user - The user who needs to verify their account
      token - The verification token
    • sendPasswordResetEmail

      public void sendPasswordResetEmail(UserModel user, String token)
      Description copied from interface: EmailService
      Send password reset email
      Specified by:
      sendPasswordResetEmail in interface EmailService
      Parameters:
      user - The user who requested password reset
      token - The password reset token
    • sendEmailChangeVerificationEmail

      public void sendEmailChangeVerificationEmail(UserModel user, String newEmail, String token)
      Description copied from interface: EmailService
      Send email change verification email to the new email address
      Specified by:
      sendEmailChangeVerificationEmail in interface EmailService
      Parameters:
      user - The user changing their email
      newEmail - The new email address
      token - The verification token
    • sendPasswordChangeConfirmationEmail

      public void sendPasswordChangeConfirmationEmail(UserModel user)
      Description copied from interface: EmailService
      Send password change confirmation email
      Specified by:
      sendPasswordChangeConfirmationEmail in interface EmailService
      Parameters:
      user - The user who changed their password