[Zope] Problems with sendmail and attachments

Chris Withers chrisw@nipltd.com
Thu, 03 Oct 2002 13:25:57 +0100


What version of Zope are you using?

cheers,

Chris

Klimovich Alexander wrote:
>  Hi everybody!
> 
>  I have a problem with sending attachments using sendmail tag.
>  This is my file:
> 
>  <dtml-sendmail mailhost="TOPS_mailhost">
>  To:<dtml-var mail_addresses>
>  From:klima
>  Subject:<dtml-var mail_subject>
> 
>  <dtml-mime type=text/plain encode=7bit>
>  Attached is the document you requested.
> 
>  <dtml-boundary name=report.htm type=text/html disposition=attachment encode=7bit>
>  <dtml-var "_[test]">
>  </dtml-mime>
>  <dtml-var mail_text>
>  </dtml-sendmail>
> 
>  'test' is a simple html file. I'm getting an error after processing the upper file.
>  Error is:
>  Error Type: TypeError
>  Error Value: expected string or Unicode object, ImplicitAcquirerWrapper found
> 
>  What's wrong ? Any ideas ?
> 
> 
>  Thanks,
>  Alexander
> 
> _______________________________________________
> 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 )
> 
>