Mailing Caranta wrote:

>Oki, you're right, I changed a few things, and, even though I don't get why
>it didn't work, I can send mail to my users normally ...
>
>Except when it come to be sent to a mailman list address :(
>
>When I do this, I get once again the uuencoded attachement as raw text in
>the body.
>
>I noticed this, in the cource of the sent mail :
>****************************************************************************
>*************************
>Return-Path: <[EMAIL PROTECTED]>
>Received: from minixer.caranta.com (localhost.localdomain [127.0.0.1])
>       by caranta.com (8.12.8/8.11.6) with ESMTP id i7HNFcqP003544;
>       Wed, 18 Aug 2004 01:15:38 +0200
>Received: from caranta.com (minixer.lan.local [192.168.10.1])
>       by caranta.com (8.12.8/8.11.6) with ESMTP id i7HNF9qP003510
>       for <[EMAIL PROTECTED]>; Wed, 18 Aug 2004 01:15:09 +0200
>Received: (from [EMAIL PROTECTED])
>       by caranta.com (8.12.8/8.12.5/Submit) id i7HNF8g9003508
>       for [EMAIL PROTECTED]; Wed, 18 Aug 2004 01:15:08 +0200
>Date: Wed, 18 Aug 2004 01:15:08 +0200
>From: Arthur CARANTA <[EMAIL PROTECTED]>
>Message-Id: <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>X-caranta.com-MailScanner: Found to be clean, Found to be clean
>X-caranta.com-MailScanner-SpamCheck: not spam (whitelisted),
>       SpamAssassin (score=-3.234, required 5, autolearn=not spam, AWL
>1.67,
>       BAYES_00 -4.90), not spam (whitelisted),
>       SpamAssassin (score=2.923, required 5, AWL -4.91,
>       MIME_HEADER_CTYPE_ONLY 2.23, UNWANTED_LANGUAGE_BODY 2.80,
>       UPPERCASE_50_75 0.00, V_NO_VOWEL_7 0.70, V_NO_VOWEL_8 1.10,
>       V_NO_VOWEL_9 0.50, V_VERY_LONG_WORD_2 0.50)
>Cc: 
>Subject: [Lechat] [2004-08-18] Le chat du jour
>X-BeenThere: [EMAIL PROTECTED]
>X-Mailman-Version: 2.1.5
>Precedence: list
>Reply-To: [EMAIL PROTECTED]
>List-Id: lechat.www.caranta.com
>List-Unsubscribe: <http://minixer.caranta.com/mailman/listinfo/lechat>,
>       <mailto:[EMAIL PROTECTED]>
>List-Post: <mailto:[EMAIL PROTECTED]>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: <http://minixer.caranta.com/mailman/listinfo/lechat>,
>       <mailto:[EMAIL PROTECTED]>
>Content-Type: multipart/mixed; boundary="===============1423464382=="
>Sender: [EMAIL PROTECTED]
>Errors-To: [EMAIL PROTECTED]
>X-caranta.com-MailScanner-Information: Please contact the ISP for more
>information
>X-MailScanner-From: [EMAIL PROTECTED]
>Status:   
>
>--===============1423464382==
>
>Voici le chat du 2004-08-18
>begin 664 2004-08-18- Le chat.jpg
>M_]C_X``02D9)[EMAIL PROTECTED]@&!@<&!0@'!P<)"[EMAIL PROTECTED]
>M#!D2$P\4'1H?'AT:'!P@)"XG("(L(QP<*#<I+#`Q-#0T'R<Y/[EMAIL PROTECTED]/"XS-#+_
>(...cut here...)
>MX]:T]EZ9%RG^-,F\*>'KC;YVA::^T87-JG`_*H&\$^%G;<?#VF9P1_Q[)T/X
>$4`?_V0``
>`
>end
>
>--===============1423464382==
>Content-Type: text/plain; charset="iso-8859-1"
>MIME-Version: 1.0
>Content-Transfer-Encoding: quoted-printable
>Content-Disposition: inline
>
>_______________________________________________
>Lechat mailing list
>[EMAIL PROTECTED]
>http://minixer.caranta.com/mailman/listinfo/lechat
>
>--===============1423464382==--
>****************************************************************************
>*************************
>
>The mailing list bottom lines are seen as attahced files, whereas the pic
>itself doesn't ...
>I have never ever tryied this before, but is it possible that MIME and
>uuencode attachements are in the very same email ?

For information on why the footer is a separate MIME part, see the FAQ
(http://www.python.org/cgi-bin/faqw-mm.py) article 4.39.

Part of the problem is that uuencoded files are not, strictly speaking,
attachments at all. They are just plain ASCII text which may be
embedded in a plain text message or in a text/plain part of a
multipart MIME message or may be, in some pathological cases, a
separate MIME part.

How a uuencoded file in received e-mail is rendered is decided by the
MUA that reads the mail. Some MUAs just display the raw uuencoded file
as text which is what it is, at least in the MIME sense. Other MUAs
recognize it and call it an attachment and are prepared to decode it.
This is apparently what happens in your case if the uuencoded file is
in a simple text/plain message, but not if it is in a text/plain part
of a multipart MIME message.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to