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