dtml-sendmail error with pine
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 client !! It works well with kmail, but no with pine, so I suppose that the format of the message is not 100% correct. Attached is a pdf document.
On Fri, Nov 16, 2001 at 04:05:41PM +0000, jmunoz@softhome.net wrote:
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 client !!
It works well with kmail, but no with pine, so I suppose that the format of the message is not 100% correct. Attached is a pdf document.
This pfd is viewable in mutt mail client. May be it is just pine? Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
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 client !!
It works well with kmail, but no with pine, so I suppose that the format 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
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 client !!
It works well with kmail, but no with pine, so I suppose that the format 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 -.-
participants (4)
-
Dieter Maurer -
jmunoz@softhome.net -
Julián Muñoz Domínguez -
Oleg Broytmann