[Zope] DTML Sendmail Error

Jens Vagelpohl jens@zope.com
Mon, 5 May 2003 07:38:10 -0400


you must remove all indentation inside that sendmail tag.

jens


On Monday, May 5, 2003, at 07:19 US/Eastern, Zope@Stylus wrote:

> Hi Lennart
>
> Thaks for your prompt reply.I have asigned the security permission of 
> the
> Mail Host to Anonymous to allow all users who are not loggged into 
> Zope to
> send their mails.
> Now let me clarify how I am trying to use dtml-sendmail
> <dtml-sendmail mailhost="MailHost">
>         To: <dtml-var recipient>
>         From: <dtml-var sender>
>         Subject: <dtml-var subject>
>
>         Dear <dtml-var recipient>,
>
>         You order number <dtml-var order_number> is ready.
>         Please pick it up at your soonest convenience.
> </dtml-sendmail>
>
> I am calling this DTML Document from another DTML Document passing the
> parameters recepient,sender,subject,order_number from a FORM.
> I am using Python version 2.1.3
> Could you please help me in figuring what I am doing wrong.Also could 
> you
> please tell me how I can add delete users from acl_users without 
> actually
> logging into ZOPE through the ZMI Login.And how to Login a User who is
> m,ember of acl_users into the Zope server without actually going 
> through the
> ZMI Login.THis would solve my problem fr adding Folders into the Zope 
> Folder
> Structure and also to access SquishDOT.
>
> Thanks and Best regards
> John