[Zope] reading mail with attachment with eudora

aZaZel azazel@chiaroscuro.com
Fri, 09 Feb 2001 15:21:40 +0100


Hi,
I'm using a dtml method to send a mail with an attachment, it works fine 
until i use Eudora (mac version) as mailreader....strange problem, 
Eudora does not recognize well the attachment as the Netscape 
communicator or VM do.
This is the method i use now to send the message:

<dtml-var standard_html_header>
<dtml-sendmail smtphost="localhost">
To: pippo@pippo.it
From: Pippo Web Site <jhp@pippo.it>
Subject: Someone completed the join us form
<dtml-mime type=text/plain encode=7bit>

Informations:

Name/Surname: <dtml-var name>
Date of birth: <dtml-var dofb> ( dd/mm/yyyy)
Address: <dtml-var address>
City: <dtml-var city>
E-mail: <dtml-var emailaddress>


He/She is applying for: <dtml-var action>



<dtml-boundary type_expr="cv.headers['Content-Type']"
disposition="inline" encode="base64" filename_expr="cv.filename" skip_expr="cv.filename == ''">
<dtml-var "cv.read()"></dtml-mime>

</dtml-sendmail>
.....
.......

I've tried also with encoding = "uuencode" and disposition = "attachment"
This is the file's header of the mail produced by that method

......
....
Subject: Someone completed the join us form
Content-Type: multipart/mixed;
   boundary="216.103.250.202.33.472.981725980.091.23878"


--216.103.250.202.33.472.981725980.091.23878
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Informations:

Name/Surname: Prova
Date of birth: oiip ( dd/mm/yyyy)
Address: poip
City: poip
E-mail: poip


He/She is applying for: Trainee




--216.103.250.202.33.472.981725980.091.23878
Content-Type: image/jpeg;
Content-Disposition: inline;
   filename="azazel.jpg"
Content-Transfer-Encoding: base64
.....
.....

Next an header of a mail with the same file as attachment sent with Mozilla:


.......
......
Subject: PROVA
Content-Type: multipart/mixed;
boundary="------------040707070001010108070700"

This is a multi-part message in MIME format.
--------------040707070001010108070700
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

udioueoiu


--------------040707070001010108070700
Content-Type: image/jpeg;
name="azazel.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="azazel.jpg"
.......
......


Any idea where the problem can be?



thanks in advance

Alberto Berti


P.S. The installed Zope version is 2.2.0