On 18 Sep 2002 at 0:18, Juan  Hector Medina wrote:

> I dont have any luck with this..
> i try everything but nothing if delete from line 198 to the EOF the program
> scans the email, write the email and i can download the email without virus
> and problem...

I hope you let the line before EOF in the script, it says:

--$boundary--

and is necessary to enclose the text between two matching MIME part 
boundaries. Otherwise your client will get confused on purpose !

Line 195 checks if the message is through until the start of the 
first infected attachment, writing its boundary line to the tempfile. 
After that line 197ff (the 'else {}' block) is activated and the 
replacement text gets written to the file. The 'last' statement at 
the end of the 'else' block ends the loop, discarding the rest of the 
original message.

So if you remove that line before 'EOF' you start a MIME part with a 
header but don'n finish it afterwards. That's not nice ;-)

> I wish i could change the email client program but is the same of all my
> users...

Oh, how well do I know what you mean ;-) If only they all would 
switch to a 'real' mail client, we had much less trouble ...

  regards,

  Goesta
--
This may seem a bit weird, but that's okay, because it is weird.

found on line 89 of 'perldoc perl'

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to