[Zope] MailHost question

Maik Jablonski maik.jablonski@uni-bielefeld.de
Thu, 08 Aug 2002 13:58:46 +0200


hi,

don't indent your mail-header and don't use blank lines in it.
the blank line seperates the header from the mailBody!

<dtml-sendmail mailhost="MailHost">
To: <dtml-var lmc>
From: <dtml-var lmc>
Subject: <dtml-var lmc>

Hi, please take a look at my resume.

</dtml-sendmail>

cheers, maik

McDonnell, Larry wrote:
> Hi,
> 
> I am trying to understand sending an email within Zope. Using a DTML method,
> I basically used the example from the "book".
> 
> <dtml-let lmc="'lmcdonnell@protonenergy.com'">
> <dtml-sendmail mailhost="MailHost">
> 
>     To: <dtml-var lmc>
>     From: <dtml-var lmc>
> 
>     Subject: <dtml-var lmc>
>     
>     Hi, please take a look at my resume.
> 
> </dtml-sendmail>
> </dtml-let>
> 
>   <p>Your resume was sent.</p>
> 
> But my error is len() of unsized object and the documentation does not
> address the problem (or I can't find it). Any pointers or examples will be a
> big help, thanks.
> 
> 
> Larry McDonnell
> 
> Proton Energy Systems
> 50 Inwood Rd.
> Rocky Hill, CT 06067
> (860) 571-6533 ext. 531
> Email:lmcdonnell@protonenergy.com
> www.protonenergy.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 )

-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org