public interface EmailSender
| Modifier and Type | Method and Description |
|---|---|
void |
sendActivationMessage(UserEntity user)
Send an activation email to the user.
|
void |
sendPasswordChangeMessage(UserEntity user)
Send a password change email to the user.
|
void |
sendPasswordResetMessage(UserEntity user,
String newPassword)
Send a password reset email to the user.
|
void |
sendVerificationMessage(UserEntity user)
Send a verification email to the user.
|
void sendVerificationMessage(UserEntity user) throws EmailException
user - To whom the email should be sent.EmailException - If the email can not be sent for any reason.void sendActivationMessage(UserEntity user) throws EmailException
user - To whom the email should be sent.EmailException - Thrown if the email can not be sent for any
reason.void sendPasswordChangeMessage(UserEntity user) throws EmailException
user - To whom the email should be sent.EmailException - Thrown if the email can not be properly sent.void sendPasswordResetMessage(UserEntity user, String newPassword) throws EmailException
user - The user who is requesting the password reset.newPassword - The new password, before hashing.EmailException - Thrown if the email can not be sent for any
reason.Copyright © 2012–2016 Emory University. All rights reserved.