Skip to Content
author's profile photo
Former Member

C4C SDK: Trigger Email on button click

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.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on Feb 21, 2017 at 03:07 PM


    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,


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.