[Zope] MailHost question

Jens Vagelpohl jens@zope.com
Thu, 8 Aug 2002 08:02:48 -0400


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