Skip to Content
0

C4C SDK: Trigger Email on button click

Feb 21, 2017 at 01:49 PM

176

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Alexandre Kaminagakura Feb 21, 2017 at 03:07 PM
0

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

0