problems with multipart

View: New views
4 Messages — Rating Filter:   Alert me  

problems with multipart

by Oleg Sukhodolsky-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

recently I've got "bad" mail with the following content:

From: somebody@...
MIME-Version: 1.0
To: oleg-sukhodolskt@...
Subject: problems
Content-Type: multipart/mixed; boundary="=======AVGMAIL-499EAA7C0000======="

--=======AVGMAIL-499EAA7C0000=======
Content-Type: text/plain; charset=ascii; format=flowed

some text
--=======AVGMAIL-499EAA7C0000=======
Content-Type: multipart/alternative;
        boundary="=======AVGMAIL-499EAA7C0000======="

--=======AVGMAIL-499EAA7C0000=======
Content-Type: text/plain; x-avg=cert; charset=windows-1251
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Content-Description: "AVG certification"


No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.1/1962 - Release Date: 02/20/09 07=
:26:00

--=======AVGMAIL-499EAA7C0000=======--
--=======AVGMAIL-499EAA7C0000=======--

As you can see, it uses the same boundary for outer multipart/mixed
and inner multipart/alternative.
AFAIK this is illegal, and javamail doesn't work well with such mail
(I'm using latest snapshot of 1.4.2).
But it would be nice to be able to read it, so I wonder if there is
some magic property which allows
javamail to handle such mail.

With best regards, Oleg.

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: problems with multipart

by Bill Shannon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No magic property, sorry.  Find the person who wrote the program that
created such a broken message and tell them to fix their program!

Are you sure it isn't the anti-virus software that's corrupting the
message?


Oleg Sukhodolsky wrote:

> Hi,
>
> recently I've got "bad" mail with the following content:
>
> From: somebody@...
> MIME-Version: 1.0
> To: oleg-sukhodolskt@...
> Subject: problems
> Content-Type: multipart/mixed; boundary="=======AVGMAIL-499EAA7C0000======="
>
> --=======AVGMAIL-499EAA7C0000=======
> Content-Type: text/plain; charset=ascii; format=flowed
>
> some text
> --=======AVGMAIL-499EAA7C0000=======
> Content-Type: multipart/alternative;
> boundary="=======AVGMAIL-499EAA7C0000======="
>
> --=======AVGMAIL-499EAA7C0000=======
> Content-Type: text/plain; x-avg=cert; charset=windows-1251
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> Content-Description: "AVG certification"
>
>
> No virus found in this outgoing message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.1/1962 - Release Date: 02/20/09 07=
> :26:00
>
> --=======AVGMAIL-499EAA7C0000=======--
> --=======AVGMAIL-499EAA7C0000=======--
>
> As you can see, it uses the same boundary for outer multipart/mixed
> and inner multipart/alternative.
> AFAIK this is illegal, and javamail doesn't work well with such mail
> (I'm using latest snapshot of 1.4.2).
> But it would be nice to be able to read it, so I wonder if there is
> some magic property which allows
> javamail to handle such mail.
>
> With best regards, Oleg.
>
> ===========================================================================
> To unsubscribe, send email to listserv@... and include in the body
> of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
> listserv@... and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: problems with multipart

by Oleg Sukhodolsky-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Feb 24, 2009 at 9:56 AM, Bill Shannon <bill.shannon@...> wrote:
> No magic property, sorry.  Find the person who wrote the program that
> created such a broken message and tell them to fix their program!

Will try to report this.

> Are you sure it isn't the anti-virus software that's corrupting the
> message?

Most likely it is AVG email server (www.avg.com) part of anti-virus
protection product which is installed on sender's side.

Oleg.

>
>
> Oleg Sukhodolsky wrote:
>>
>> Hi,
>>
>> recently I've got "bad" mail with the following content:
>>
>> From: somebody@...
>> MIME-Version: 1.0
>> To: oleg-sukhodolskt@...
>> Subject: problems
>> Content-Type: multipart/mixed;
>> boundary="=======AVGMAIL-499EAA7C0000======="
>>
>> --=======AVGMAIL-499EAA7C0000=======
>> Content-Type: text/plain; charset=ascii; format=flowed
>>
>> some text
>> --=======AVGMAIL-499EAA7C0000=======
>> Content-Type: multipart/alternative;
>>        boundary="=======AVGMAIL-499EAA7C0000======="
>>
>> --=======AVGMAIL-499EAA7C0000=======
>> Content-Type: text/plain; x-avg=cert; charset=windows-1251
>> Content-Transfer-Encoding: quoted-printable
>> Content-Disposition: inline
>> Content-Description: "AVG certification"
>>
>>
>> No virus found in this outgoing message.
>> Checked by AVG - www.avg.com
>> Version: 8.0.237 / Virus Database: 270.11.1/1962 - Release Date: 02/20/09
>> 07=
>> :26:00
>>
>> --=======AVGMAIL-499EAA7C0000=======--
>> --=======AVGMAIL-499EAA7C0000=======--
>>
>> As you can see, it uses the same boundary for outer multipart/mixed
>> and inner multipart/alternative.
>> AFAIK this is illegal, and javamail doesn't work well with such mail
>> (I'm using latest snapshot of 1.4.2).
>> But it would be nice to be able to read it, so I wonder if there is
>> some magic property which allows
>> javamail to handle such mail.
>>
>> With best regards, Oleg.
>>
>>
>> ===========================================================================
>> To unsubscribe, send email to listserv@... and include in the
>> body
>> of the message "signoff JAVAMAIL-INTEREST".  For general help, send email
>> to
>> listserv@... and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: problems with multipart

by Keeblebrox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Are you sure it isn't the anti-virus software that's corrupting the
>> message?

>Most likely it is AVG email server (www.avg.com) part of anti-virus
>protection product which is installed on sender's side.

I have a similar problem to the original poster's. Disabling AVG's email scanner on the recipient's side clears up the contents of the message, however. This means that the issue is with the recipient's AVG installation, not the sender's.

If they haven't been, AVG should be notified of the issue so they can fix their email scanner.

Brian