[Zope] dtml-sendmail error with pine

Julián Muñoz Domínguez jmunoz@softhome.net
Sun, 18 Nov 2001 14:53:03 +0000 (GMT)


Thank you,

I have solved the problem putting manually header:


<dtml-sendmail mailhost="MailHost">
From: jmunoz@softhome.net
To: jmunoz@julian.ea4acl.ampr.org
Subject: Prueba
MIME-Version: 1.0
<dtml-mime type="text/plain" encode="7bit">

Hello

<dtml-boundary type="application/pdf" disposition="attachment"
 encode="base64" filename="1.pdf"><dtml-var 1.pdf></dtml-mime>
</dtml-sendmail>




On Sat, 17 Nov 2001, Dieter Maurer wrote:

> jmunoz@softhome.net writes:
>  > Hello, this email is sent from a dtml document, with the dtml-sendmail=
 tag.
>  > I have followed the instructions in the zope book and some examples in=
 this mail list,
>  > but the viewing of attached file doesn't work with my pine email clien=
t !!
>  >
>  > It works well with kmail, but no with pine, so I suppose that the form=
at of the message is not 100% correct.
>  > Attached is a pdf document.
>  >
> The message lacks a "Mime-Version: 1.0" header.
> Such a header is required by MIME in order to recognize the
> message as MIME message and not an old RFC822 message.
>
> Apparently, many mail readers are not as strict and
> recognize a MIME message even if the "Mime-Version" header
> is missing. "pine" seems to be strict....
>
> "dtml-mime" should generate the "MIME-Version" header.
> Put this bug into the collector.
>
>
> Dieter
>

-- 

      __o
    _ \<_
   (_)/(_)

Saludos de Julián
EA4ACL
-.-