[Zope] sendmail and namespace
mindlace
mindlace@imeme.net
Thu, 20 Apr 2000 22:31:40 -0600
Zopistas,
Why doesn't this work in a method?
<dtml-in "objectValues(['DTML Document'])"
<dtml-sendmail smtphost="imeme.net">
To: &dtml-title; <<dtml-var email>@imeme.net>
From: imeme <admin@imeme.net>
Subject: imeme
<dtml-var body>
</dtml-sendmail>
</dtml-in>
It gets the values for title from the folder that contains the method,
not from the DTML Document that's supposed to be on top of the
namespace.
I tried
<dtml-sendmail smtphost="imeme.net">
<dtml-with "_['sequence-item']" only>
To: &dtml-title; <<dtml-var email>@imeme.net>
From: imeme <admin@imeme.net>
Subject: imeme
<dtml-var body>
</dtml-with>
</dtml-sendmail>
and that doesn't work either.
--
ethan mindlace fremen mindlace@imeme.net
zope -&- imap email -&- mailing list
weave your web with the web at http://imeme.net