How can u send an email and also an attachment on click of a button?

On click of the button an email should be sent along with an attachment and in that attachment we have to copy some properties from our pyWorkPage.How to achieve this?

Hi @TanyaS58 please use SendEmailWithAttachments activity present in work- class, in order to implement the same you need an email account configured in your system. Use the activity when the attachment you desire to send is present in the case and please pass all the necessary parameters while triggering the activity on click of the button.

Alternatively you can use SendEmailNotification when the attachment you desire to send is not present in the caseplease set the required parameters on the attachment page as the following:

  1. pyDecode

  2. pyData

  3. pyName

  4. pyRemoveXML