[Zope] E-Mails

Robert O'Connor Robert O'Connor" <bob@rocnet.com
Wed, 19 May 1999 15:47:50 -0400


>Also, I have know
> idea what the mime type of a pdf file is, I made application/adobe-pdf
> up.
To answer this question, I looked at the source of 
an email with a pdf attachment:

------=_NextPart_000_0083_01BEA20D.470161A0
Content-Type: application/pdf;
 name="zope2chp1.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="zope2chp1.pdf"

Changes in this code will probably need to be
made to match.
 
> <!--#in mySQLQuery-->
> <!--#sendmail-->
> To: <!--#var sequence-item-->
> From: me@here.com
> <!--#mime encode=7bit type=text/plain-->
> Here's your file.
> <!--#boundary encode=base64 type=application/adobe-pdf
> disposition=attachment--><!--#var "fileobject.read()"--><!--#/mime-->
> <!--#/sendmail-->
> <!--#/in-->

-Bob OConnor bob@rocnet.com