Hello Friends,
I have a case with an attachment and we want to send this attachment to customer via email. We are storing them in pegacloudstorage of Repository.
Can anyone help with some detailed steps, please?
Thanks in advance ![]()
Hello Friends,
I have a case with an attachment and we want to send this attachment to customer via email. We are storing them in pegacloudstorage of Repository.
Can anyone help with some detailed steps, please?
Thanks in advance ![]()
@BATTINIRAMESH SendEmailWithAttachments
@SanjibMaji Thank you for your response.
Actually we used this activity and it worked when we are on pega cloud, but now we switched to repository and we are receiving empty data in the email attachment.
@BATTINIRAMESH
Please follow the below mentioned screenshot steps to include generated attachment to get included in mail as an attachments..
Use SendEmailNotification activity to trigger mail and initialize the below mentioned needed parameter values to include the generated files in mail as an attachment.
In pages and class define Attachments page and class definition as Data-EmailAttachments.
Param.AttachmentPage = “Attachments”
Param.AddAttachment = “True”
Inside Attachments page
pyAttachments.pyData = Have your file stream content.
pyAttachments.pyName = Have your file name
pyAttachments.pyType = Have your file extension type (pdf, .xlsx etc..)