Home
 
The page you are viewing is part of our 160,000 page PDF discussion forum archive spanning 1999-2011.
Go to the new Planet PDF forum to join the PDF community.
 

Search
 Advanced   
Sign up for a WebBoard account Archive Forum Home


PLATINUM
SPONSOR

GOLD
SPONSORS



Topic  
Go to previous topicPrev TopicGo to next topicNext Topic
Author Message
riddhi
riddhi

Total Messages 2

Subject:pdf attachment gets corrupted when sent from mail client to our mail server

Hi,
We have developed a mail server. And we are facing a problem with the pdf file. I have attached those 2 pdf files with which we are facing the problem. These pdf files are getting corrupted when they are sent from mail client to our mail server. The reason for this is the "dot-stuffing" and we have also applied the "de dot-stuffing" mechanism to solve it. With this mechanism, other pdf files are not getting corrupted but these 2 pdf files are still getting corrupted. Can anyone suggest what should be done to solve this issue??


Regards,
Riddhi



Unknown1(3).pdf

Unknown2(1).pdf

Posted: 09 Apr 2011 04:50 AM
Left Button SpacerView user's profile profileRight Button Spacer
 
 
aandi
aandi

Total Messages 17064

Subject:pdf attachment gets corrupted when sent from mail client to our mail server

How do you encode the PDF during sending?


Posted: 09 Apr 2011 09:22 AM
Left Button SpacerView user's profile profileRight Button Spacer
 
 
riddhi
riddhi

Total Messages 2

Subject:pdf attachment gets corrupted when sent from mail client to our mail server

The encoding type is decided by the mail client. In our case, the mail client is MS Outlook 07 and the attached pdf is encoded in quoted-printable.


Posted: 10 Apr 2011 11:15 PM
Left Button SpacerView user's profile profileRight Button Spacer
 
 
aandi
aandi

Total Messages 17064

Subject:pdf attachment gets corrupted when sent from mail client to our mail server

Some clients don't encode properly - though they mostly seem fixed these days, we hear less and less about PDF corrupted in email. Nevertheless, PDF needs more encoding than quoted-printable, it is binary and needs to be treated with the same care as a JPEG, say.

I'd recommend first checking if there is any binary data in the input. If so, the client is broken. If it is only quoted printable, too, this is probably broken.

Otherwise, consider doing a byte for byte comparison between the encoded input stream and output stream. Analyse the corruption, try to understand what byte values are damaged and why.


Posted: 11 Apr 2011 02:51 AM
Left Button SpacerView user's profile profileRight Button Spacer
 
 
   
Go to previous topicPrev TopicGo to next topicNext Topic

go




Top | News | Developer | Find PDF Tools | Sponsorship | Tips | Home



Debenu's Planet PDF - a comprehensive site exclusively focused on Adobe Acrobat/PDF users and uses. Debenu's Planet PDF - Resources for Adobe Acrobat and PDF users

Please post PDF-related questions to our Planet PDF Forum forums.planetpdf.com. To send comments about this site please visit our contact page.
Planet PDF, Planet PDF Forum, PDF SDK - Debenu Quick PDF Library and Debenu are all copyright
© 2011 Debenu Pty Ltd.. All Rights Reserved. Privacy policy.