ezgmail icon indicating copy to clipboard operation
ezgmail copied to clipboard

PDF Attachment is mangled

Open fkiernan opened this issue 5 years ago • 2 comments

Sending basic email to gmail and icloud is working, however, when adding a 16 page PDF file attachment to the message the PDF received is not identical to the originating PDF.

Comparing the sent file to the downloaded received file, both have the same file size.

Opening the downloaded received file in Adobe Acrobat Reader I received the following two (2) messages:

  1. Cannot extract the embedded font 'URZYZB+TimesNewRomanPSMT'. Some characters may not display or print correctly.

Clicking OK in the msgbox I receive the following message: 2. An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.

Reviewing the received file one quickly notices that the files have substantive issues/gaps. The sent file opens properly.

fkiernan avatar May 29 '19 00:05 fkiernan

Gladly that someone created this issue. I have searched for a solution to this by months.

I think the problem it's on encoding. (as I tried to attach the pdf file even as object, and as string ... )

Cristishor201 avatar Jun 11 '19 23:06 Cristishor201

I have a similar problem. Whenever I try to attach a txt file in an email, I get the following KeyError: image I tried changing the file sizes but there was no success. I also tried to attach in an email together with pdf and jpg files but the error persists. Is there a way around to solve this problem? Thank you.

Prabhakaran-Gokul avatar Jun 12 '19 03:06 Prabhakaran-Gokul