Thanks once again, this works great. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jens Vagelpohl Sent: Thursday, August 08, 2002 8:03 AM To: McDonnell, Larry Cc: 'Zope@Zope. Org' (E-mail) Subject: Re: [Zope] MailHost question you cannot have any empty spaces in front of the header and content lines. take out that indentation and see if that helps. i also suggest taking out the empty line after the opening sendmail tag and before the closing sendmail tag. jens On Thursday, August 8, 2002, at 07:50 , 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
_______________________________________________ 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 )
participants (1)
-
McDonnell, Larry