Interface EmailService

All Known Implementing Classes:
EmailServiceImpl

public interface EmailService
Service interface for sending emails
  • Method Details

    • sendAccountVerificationEmail

      void sendAccountVerificationEmail(UserModel user, String token)
      Send account verification email to a new user
      Parameters:
      user - The user who needs to verify their account
      token - The verification token
    • sendPasswordResetEmail

      void sendPasswordResetEmail(UserModel user, String token)
      Send password reset email
      Parameters:
      user - The user who requested password reset
      token - The password reset token
    • sendEmailChangeVerificationEmail

      void sendEmailChangeVerificationEmail(UserModel user, String newEmail, String token)
      Send email change verification email to the new email address
      Parameters:
      user - The user changing their email
      newEmail - The new email address
      token - The verification token
    • sendPasswordChangeConfirmationEmail

      void sendPasswordChangeConfirmationEmail(UserModel user)
      Send password change confirmation email
      Parameters:
      user - The user who changed their password