Discussion

2
Replies
1569
Views
Close popover
Karthika S (KarthikaS)
Tech Mahindra

Tech Mahindra
IN
KarthikaS Member since 2015 1 post
Tech Mahindra
Posted: March 24, 2016
Last activity: November 10, 2016
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.