[Zope] Re: Anyone using Zope Mail Host with MS Exchange ? (ch
as)
David Salgado
David@connmed.co.uk
Fri, 14 Jan 2000 13:33:16 -0000
Cool - using smtphost even works with exchange. i.e.
<dtml-sendmail smtphost="my.smtp.host">
To: david@connmed.co.uk
From: My Zope Server
Subject: Test using MS Exchange Server
Here is some text
</dtml-sendmail>
...works fine.
Anyone know how I can have an acquired property or method which holds the
name of the SMTP host. i.e. so that I can have a property or method called
my_smtphost, and use something like the following (I've tried all of these
formats, and none of them works);
<dtml-sendmail smtphost="my_smtphost">
or
<dtml-sendmail smtphost=my_smtphost>
or
<dtml-sendmail smtphost=_['my_smtphost']>
or
<dtml-sendmail smtphost=_[my_smtphost]>
All the above give a 'host not found' error, but I'm certain the property is
being acquired properly, because I can put a <dtml-var my_smtphost> tag in a
working version of the page, and it correctly fills in the address of my
exchange server.
I know I can encapsulate everything using a 'sending' DTML method, and
acquire that, but I'd just like to know what I'm doing wrong.
Cheers
David