[Zope] Send file from LocalFS as an attachment - solved

Vid B zoops4@yahoo.com
Tue, 10 Jul 2001 16:27:42 -0700 (PDT)


LocalFS HowTo:

http://www.zope.org/Members/jfarr/HowTo/DTML_with_LocalFS


--- Vid B <zoops4@yahoo.com> wrote:
> Sorry if the dot brought some confusion to the code,
> I
> was trying different things and didn't deleted it
> before I copied the code to the e-mail.
> 
> Vid
> 
> 
> --- Flynt <rhess@bic.ch> wrote:
> > 
> > 
> > 
> > Vid B wrote:
> > > 
> > > Hi All,
> > 
> > Hi Vid,
> > 
> > > 
> > > Sending mail with attached files from Zope
> > database
> > > works fine, but if I try to send pdf document
> from
> > > LocalFS e-mail gets sent
> > > - everything looks fine, BUT when I open
> > attachment in
> > > Acrobat Reader it complains 'it is not PDF
> file'.
> > > 
> > > This is what I am using
> > > 
> > > <dtml-sendmail mailhost="MailHost">
> > > From: vidb@fanweb.ca
> > > To: vidb@fanweb.ca
> > > Date: <dtml-var ZopeTime fmt="rfc822">
> > > Subject: Testmessage
> > > <dtml-mime type="text/plain" encode="7bit">
> > > 
> > > testmessage textbody
> > > 
> > > <dtml-boundary type="application/pdf"
> > > disposition="attachment"
> > > encode="base64"
> filename="testfile.pdf"><dtml-with
> > > locimg><dtml-var
> > > "_['June2001.pdf']."></dtml-with></dtml-mime>
> > 
> > What is this dot  ^^^^^^   supposed to mean ?
> > 
> > > </dtml-sendmail>
> > > 
> > > I will be thankful for any hints.
> > > 
> > > Vid
> > 
> > --- Flynt
> > 
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> > 
> >
> http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
> 
> http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/