[Zope] Send file from LocalFS as an attachment??

Flynt rhess@bic.ch
Wed, 11 Jul 2001 00:25:14 +0200



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