Elastic Social Manual / Version 2107
Table Of ContentsCAE
Emails can be sent to a user for specific user actions or events. For the following events corresponding listeners are triggered and can be customized:
Event: State change of a
CommunityUser,Listener:
CommunityUserServiceListener#onStateChangedEvent: Registration requested
Listener:
RegistrationServiceListener#onRegistrationRequestedorRegistrationServiceListenerBase#onRegistrationRequestedEvent: A
CommunityUserrequested to reset his passwordListener:
RegistrationServiceListener#onPasswordResetRequestedorRegistrationServiceListenerBase#onPasswordResetRequestedEvent: State change of a
Commentor of aReviewListener:
CommentServiceListener#onStateChanged
Studio
For the following events, an email is sent automatically. The corresponding
MailTemplates must be provided.
User Blocked: The
CommunityUser#Statechanges toCommunityUser.State.BLOCKED.User Restored: The
CommunityUserhas a changed profile and the moderator resets the profile to the last values. The email is only sent for a user who has not the stateCommunityUser.State.ANONYMIZED,CommunityUser.State.IGNOREDorCommunityUser.State.BLOCKED.User Deleted: The
CommunityUseris deleted.Comment rejected: A comment of the
CommunityUseris rejected. The email is only sent for a user who has not the stateCommunityUser.State.ANONYMIZED,CommunityUser.State.IGNOREDorCommunityUser.State.BLOCKED.User Profile Changed: A property of the
CommunityUserchanged. The email is only sent for a user who has not the stateCommunityUser.State.ANONYMIZED,CommunityUser.State.IGNOREDorCommunityUser.State.BLOCKED.
For the following event, an email is sent, if the corresponding listener is implemented and the mail template is provided:
Resend Registration Confirmation: The moderator clicks on the "resend registration confirmation" link in the user details section. The email is only sent for a user who has the state
CommunityUser.State.REGISTRATION_REQUESTEDand if the listenerRegistrationServiceListener#onRegistrationRequestedis implemented.User Activated: The email is sent when using premoderation and when a newly registered and activated user is actually approved. The listener
CommunityUserServiceListener#onStateChangedmust be implemented.


