AEM Social Communities of customizing e-mail sending logic on like/voting button in Forum. | Community
Skip to main content
Level 2
May 31, 2018
Solved

AEM Social Communities of customizing e-mail sending logic on like/voting button in Forum.

  • May 31, 2018
  • 5 replies
  • 4565 views

Hi All,

We have a requirement on AEM Social Communities of customizing e-mail sending logic based on certain conditions when user clicks on like/voting button in Forum post.

Assuming User-1 should receive email Notifications based on below Scenarios:-

Example scenario 1:

1a. User-1 creates a post.

User-2 likes User-1 post, e-mail should be sent to User-1.

1b. User-3 replies to User-1 post.

User-4 likes reply of User-3 , e-mail should not be sent to User-1.

Example scenario 2:

2a. User-1 replies to User-2 post.

User-2 likes User-1 reply, e-mail should be sent to User-1.

2b. User-3 likes User-2 post, e-mail should not be sent to User-1.

Basically, user should get e-mail notifications only when any other user likes his/her post or replies only.

If anyone gone through similar to this scenario.Please provide some feedback how this can be achieved.

Either using OOTB configuration or settings.

Else, is there any API through which we can do server side customization.

Let us know the approach to be followed.Any sort of help would be Appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rahul_Bhardwaj

Hi Asha,

Triggering email upon creation of ugc is a multistep and complicated process internally. It wouldn't be possible to turn it off selectively OOTB or with customization.

-Rahul

5 replies

smacdonald2008
Level 10
May 31, 2018

Ask the team to help here.

June 3, 2018

hi Scott,

didn't got much help,do you have any reference.Please let me know.

Any links or blogs also will be fine.

Thanks.

Rahul_Bhardwaj
Adobe Employee
Adobe Employee
June 4, 2018

Neither, this is possible OOTB, nor there is an API, which can be leveraged to do the same.

Currently, notification/subscriptions are based on "follow" activity and not available automatically for post/comment creators.

Asha2018
Level 2
June 18, 2018

Hi Rahul_Bhardwaj

If user is following on a Post and has selected e-mail subscriptions, can we turn off triggering e-mails only on likes/voting.

Do we have this support OOTB or can we customize it.

-Asha G

Rahul_Bhardwaj
Adobe Employee
Rahul_BhardwajAdobe EmployeeAccepted solution
Adobe Employee
June 18, 2018

Hi Asha,

Triggering email upon creation of ugc is a multistep and complicated process internally. It wouldn't be possible to turn it off selectively OOTB or with customization.

-Rahul