Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > problem with a script in perl.

Reply
Thread Tools

problem with a script in perl.

 
 
Andre
Guest
Posts: n/a
 
      07-07-2004
Hello,

not too sure if this is a perl 5.8 or a sendmail (8.12.9).

I have made a script that extract, and save the attachment. I work well but.

if a line, in the attachemant is longer than 139 characteres, the complet
output is screwed with line of differnet lenght, containing aditionnal
characters (like "=" ) even outside the attachment.

a loop like

LOG="/tmp/mail";
while (<>) {
print LOG $_;
}

contains the errors if the attachemnt contains long lines.


Any idea ??

Many thanks in advances.

Andre


 
Reply With Quote
 
 
 
 
Joe Smith
Guest
Posts: n/a
 
      07-07-2004
Andre wrote:

> if a line, in the attachemant is longer than 139 characteres, the complet
> output is screwed with line of differnet lenght, containing aditionnal
> characters (like "=" ) even outside the attachment.


Are you honoring all the MIME headers? If the message has been converted
to quoted-printable, then it needs to be unquoted. This applies to both
the plain text and the attachment portions of the message.
-Joe
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute a script from another script and other script does notdo busy wait. Rajat Python 3 01-08-2010 02:05 PM
RE: How to execute a script from another script and other script doesnotdo busy wait. VYAS ASHISH M-NTB837 Python 2 01-07-2010 08:18 PM
Problem with script.aculos.us script Veera Sundaravel Ruby 1 05-12-2007 06:31 PM
JSP problem: <script language="JavaScript"> '<%=expression%>' </script> Edward Java 1 04-03-2006 06:15 PM
Problem in executing a script on the server side ! Script found but nothing executed ! Cédric Rossé ASP .Net 1 11-09-2004 09:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57