Skip to Content
0
Former Member
Jan 24, 2016 at 04:17 PM

Email attachment with pdf documents are not proper encoded pdf

329 Views

HI,

We have requirement with sending email with pdf attachment.We have used createEmailAttachmentmodel() method to attach a pdf file with EmailAttachmentModel.Where we used to read the file from byte[] to set into media.We are getting emails with attached pdf files but when we are trying to open the pdf,it shows the pdf is corrupted or not properly encoded.

Please update ,if you have any thoughts. Thanks, Jasapriya