PDF attachment, The file is damaged and could not be repaired.

This is a discussion on PDF attachment, The file is damaged and could not be repaired. within the Mutt forums in Other Technologies category; I'm using mutt 1.4.2 binary version from http://aixpdslib.seas.ucla.edu/packages/mutt.html for AIX 5.1. After using mutt to send a pdf attachment, the Acrobat Reader reports "There was an error opening this document. The file is damaged and could not be repaired." Mutt works just fine for plain text attachment. The command I'm doing is. echo "Here is your file..." | mutt -a file.pdf -s file.pdf email@company.com Does anyone know what my problem is? Thanks for any future reply, Dick...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-06-2004, 05:57 PM
Dick
Guest
 
Default PDF attachment, The file is damaged and could not be repaired.

I'm using mutt 1.4.2 binary version from
http://aixpdslib.seas.ucla.edu/packages/mutt.html for AIX 5.1.

After using mutt to send a pdf attachment, the Acrobat Reader reports
"There was an error opening this document. The file is damaged and
could not be repaired." Mutt works just fine for plain text
attachment.

The command I'm doing is.
echo "Here is your file..." | mutt -a file.pdf -s file.pdf
email@company.com

Does anyone know what my problem is?

Thanks for any future reply, Dick
Reply With Quote
  #2  
Old 04-06-2004, 08:18 PM
Gary Johnson
Guest
 
Default Re: PDF attachment, The file is damaged and could not be repaired.

Dick <hagan@norpac.com> wrote:
> I'm using mutt 1.4.2 binary version from
> http://aixpdslib.seas.ucla.edu/packages/mutt.html for AIX 5.1.
>
> After using mutt to send a pdf attachment, the Acrobat Reader reports
> "There was an error opening this document. The file is damaged and
> could not be repaired." Mutt works just fine for plain text
> attachment.
>
> The command I'm doing is.
> echo "Here is your file..." | mutt -a file.pdf -s file.pdf
> email@company.com
>
> Does anyone know what my problem is?


I don't really know what the problem is, but I have seen problems
sending PDF attachments between Unix and DOS systems when the
sending mailer uses quoted-printable encoding for the attachment.
So if it's OK for you to send that attachment from mutt in
interactive mode rather than batch mode, you might try selecting
base64 encoding rather than quoted-printable. You can do this from
the Compose menu by moving the cursor to the attachment, typing
Ctrl-E, and entering "base64" at the prompt.

HTH,
Gary
Reply With Quote
  #3  
Old 04-07-2004, 05:36 PM
Dick
Guest
 
Default Re: PDF attachment, The file is damaged and could not be repaired.

I tested it running in interactive mode and changing the attachment
from quoted-printable to base64 and still the same problem with file
is damaged and could not be repaired. Also failed to mentioned that I
do need to run the mutt in batch mode. Does anyone else have any
other mutt suggestions?
Dick



Gary Johnson <garyjohn@spk.agilent.com> wrote in message news:<1081297084.588674@cswreg.cos.agilent.com>...
> Dick <hagan@norpac.com> wrote:
> > I'm using mutt 1.4.2 binary version from
> > http://aixpdslib.seas.ucla.edu/packages/mutt.html for AIX 5.1.
> >
> > After using mutt to send a pdf attachment, the Acrobat Reader reports
> > "There was an error opening this document. The file is damaged and
> > could not be repaired." Mutt works just fine for plain text
> > attachment.
> >
> > The command I'm doing is.
> > echo "Here is your file..." | mutt -a file.pdf -s file.pdf
> > email@company.com
> >
> > Does anyone know what my problem is?

>
> I don't really know what the problem is, but I have seen problems
> sending PDF attachments between Unix and DOS systems when the
> sending mailer uses quoted-printable encoding for the attachment.
> So if it's OK for you to send that attachment from mutt in
> interactive mode rather than batch mode, you might try selecting
> base64 encoding rather than quoted-printable. You can do this from
> the Compose menu by moving the cursor to the attachment, typing
> Ctrl-E, and entering "base64" at the prompt.
>
> HTH,
> Gary

Reply With Quote
  #4  
Old 04-07-2004, 06:01 PM
Andre Berger
Guest
 
Default Re: PDF attachment, The file is damaged and could not be repaired.

* Dick <hagan@norpac.com>, 2004-04-07 23:58 +0200:
> I tested it running in interactive mode and changing the attachment
> from quoted-printable to base64 and still the same problem with file
> is damaged and could not be repaired. Also failed to mentioned that I
> do need to run the mutt in batch mode. Does anyone else have any
> other mutt suggestions?
> Dick


Please don't top post.

You could zip the .pdf before attaching it.

-Andre
Reply With Quote
  #5  
Old 05-07-2004, 11:16 AM
westbuck
Guest
 
Default Re: PDF attachment, The file is damaged and could not be repaired.


Hi Dick,

I have the EXACT same problem using the same version tools an
methodology... Just wondering if you have any new development on this?

Regards, Daniel

Dick wrote:
> *I'm using mutt 1.4.2 binary version from
> http://aixpdslib.seas.ucla.edu/packages/mutt.html for AIX 5.1.
>
> After using mutt to send a pdf attachment, the Acrobat Reade
> reports
> "There was an error opening this document. The file is damaged and
> could not be repaired." Mutt works just fine for plain text
> attachment.
>
> The command I'm doing is.
> echo "Here is your file..." | mutt -a file.pdf -s file.pdf
> email@company.com
>
> Does anyone know what my problem is?
>
> Thanks for any future reply, Dick



-
westbuc
-----------------------------------------------------------------------
Posted via http://www.webservertalk.co
-----------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message184533.htm

Reply With Quote
  #6  
Old 05-07-2004, 12:37 PM
westbuck
Guest
 
Default Re: PDF attachment, The file is damaged and could not be repaired.


westbuck wrote:
> *Hi Dick,
>
> I have the EXACT same problem using the same version tools an
> methodology... Just wondering if you have any new development o
> this?
>
> Regards, Daniel *


Hi Dick, me again regarding this problem. I've been successful to emai
the PDF by zipping it before hand. In other words, I compress i
(file.pdf.Z) then I email the compressed file. This works fine but i
add extra steps in the process.

Regards. Danie


-
westbuc
-----------------------------------------------------------------------
Posted via http://www.webservertalk.co
-----------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message184533.htm

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:18 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.