cancel
Showing results for 
Search instead for 
Did you mean: 

C4C SDK: Trigger Email on button click

Former Member
0 Kudos

Hi All,

Is it possible to trigger email on click of a button.

Content is static. Receiver and name of the receiver should be passed to the email body.

Please guide.

Thanks,

Sri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1- Create an action that sends the email by code. (there are posts that explains how to do it)

2- Add the button on the screen.

3- In the "On click" event, create an event handler that executes the bo action.

Best regards,

Alexandre.

Former Member
0 Kudos

Hi Alexandre,

I am following the same path, the issue I am facing is EmailActivity BO is now deprecated.

I need to use the Activity BO is what is mentioned in the details of Email Activity BO, but not sure of how to do it.

Here when I am trying to specify the receiver mail ID, the EmailURI is read only.

Also it seems I need to create an activity to perform this. Is there an alternate an to do this?

Please guide.

Thanks,

Srihari.