[Zope] sendmail tag/DTML problem

R. David Murray bitz@bitdance.com
Wed, 16 Feb 2000 00:19:12 -0500 (EST)


On Wed, 16 Feb 2000, Jochen Haeberle wrote:
> I have a property to a ZClass that defines the mailhost to be used
> for the instance. The property is called use_mailhost.
> 
> Now I am working on a method that is to make use of this property,
> but I can't get it to work:
> 
> <dtml-sendmail mailhost="_[use_mailhost]">

I'm guessing that the problem here is that the 'mailhost' parameter
is expecting a mailhost *object*, but that you are trying to reference
a string property.  To do that, you'd want to use the 'smtphost'
parameter.

--RDM