Elastic Social Manual / Version 2204
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#onStateChanged
Event: Registration requested
Listener:
RegistrationServiceListener#onRegistrationRequested
orRegistrationServiceListenerBase#onRegistrationRequested
Event: A
CommunityUser
requested to reset his passwordListener:
RegistrationServiceListener#onPasswordResetRequested
orRegistrationServiceListenerBase#onPasswordResetRequested
Event: State change of a
Comment
or of aReview
Listener:
CommentServiceListener#onStateChanged
Studio
For the following events, an email is sent automatically. The corresponding
MailTemplates
must be provided.
User Blocked: The
CommunityUser#State
changes toCommunityUser.State.BLOCKED
.User Restored: The
CommunityUser
has 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.IGNORED
orCommunityUser.State.BLOCKED
.User Deleted: The
CommunityUser
is deleted.Comment rejected: A comment of the
CommunityUser
is rejected. The email is only sent for a user who has not the stateCommunityUser.State.ANONYMIZED
,CommunityUser.State.IGNORED
orCommunityUser.State.BLOCKED
.User Profile Changed: A property of the
CommunityUser
changed. The email is only sent for a user who has not the stateCommunityUser.State.ANONYMIZED
,CommunityUser.State.IGNORED
orCommunityUser.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_REQUESTED
and if the listenerRegistrationServiceListener#onRegistrationRequested
is implemented.User Activated: The email is sent when using premoderation and when a newly registered and activated user is actually approved. The listener
CommunityUserServiceListener#onStateChanged
must be implemented.