[Zope] RTF documents from Zope

Jason Spisak jason@mtear.com
Tue, 28 Sep 1999 06:15:37 GMT


Hannu,

> 
> Where do you use Mimetools in the chain - is Zope's mailhost with its 
> mime support not enough
> 
I use the mime tag, but what it sends is not readable by all mail readers.
I use this code:

<!--#sendmail smtphost="mail.mydomain.com"-->
From:<<!--#var email_from-->>
Subject:<!--#var email_subject-->
To:<<!--#var email_to-->>
<!--#mime type=text/plain encode=7bit-->
<!--#email_body-->
<!--#boundary type=text/html disposition=attachment encode=base64-->
<!--#var my_document-->
<!--#/mime-->
<!--#/sendmail-->


What shows up for the second part is this:


--192.168.8.9.503.18816.937995265.266.30862
Content-Type: text/html
Content-Disposition: attatchment
Content-Transfer-Encoding: base64

                             
PEhUTUw+PEhFQUQ+PFRJVExFPkhUTUwgUmVzdW1lPC9USVRMRT4KICAgPE1FVEEgSFRUUC1FUVVJ
Vj0iQ29udGVudC1UeXBlIiBDT05URU5UPSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9aXNvLTg4NTktMSI+
CjwvSEVBRD48Qk9EWSBCR0NPTE... etc, etc, etc...

It's not a downloadable attatchment.

The mime tag isn't doing something right.

> 
> I don't think that RTF is more universally readable than HTML. 

I wholeheartedly agree.  It's just that uneducated people are seeing this
base64 encoding, (or in 7bit it comes out as HTML code) and insisting that
it needs to be readable by MSword. blah, blah.  I want to do it with html,
but mimetools is preventing a lot of people form receiving it.

All my best,


Jason Spisak
webmaster@hiretechs.com