[Zope] mailhost location problem
Ben Avery
ben@thesite.org
Mon, 07 Oct 2002 12:55:09 +0100
that works fine, thanks Chris.
out of curiosity, is there no equivalent Python expression (e.g.
"foo.bar", "_foo.bar" etc) I could just put in a tag, that does the same as
<dtml-with foo>
<dtml-sendmail mailhost="bar">
...
</dtml-with>
which seems a bit like hard work, I just want DTML to handle
presentation, rather than making it do anything more.
Ben
Chris Withers wrote:
> Ben Avery wrote:
>
>> but I can't seem to make a <dtml-sendmail ..> tag work, however I
>> refer to the mailhost object living in helpers.
>> I've tried <dtml-sendmail mailhost="helpers/MailHost">,
>> helpers.MailHost, and everything else I can think of, but it complains
>> it still can't find it.
>> Could anyone tell me how to refer to this mailhost object?
>
>
> try:
> <dtml-with helpers>
> <dtm-sendmail mailhost="MailHost">
> ...
>
> cheers,
>
> Chris
>
>
> _______________________________________________
> 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 )
>