Discussion

2
Replies
1486
Views
KarthikaS Member since 2015 1 post
Tech Mahindra
Posted: 4 years ago
Last activity: 3 years 10 months ago
Closed

Error while opening a pdf attachment

Hi ,

My requirement is, i need to send an email with attachment(not related to work object).

My approach:

In activity, i created one attachment page called Attach of Data-EmailAttachments.Now it has one property called .pyData,in this property i gave the content (html and table tags).

It has some other properties also [.pyName="test" and .pyType= ".pdf"]

So now i am calling the "SendEmailNotification" OOTB activity. It has one parameter called AttachmentPage in which i referred Attach page

Output:

I am getting the Email with generated pdf as an attachment But while opening that pdf,it is showing the following error.

Adobe reader could not open 'test'  because it is either not a supported file or because the file has been damaged(it was sent as an email attachment and wasnt correctly decoded)

Note:

The same thing i am doing for Excel generation.I am able to get the desired output.

Can anyone suggest me?

Thanks in advance

 

Case Management
Moderation Team has archived post
Share this page LinkedIn