[Zope] MailHost problems

Oliver Bleutgen Oliver Bleutgen <myzope@gmx.net>
Wed, 12 Sep 2001 20:23:49 +0200


> We are having a mailhost problem.

> System info:

> Zope Version  Zope 2.3.3 (source release, python 1.5.2, linux2)
> Python Version  1.5.2 (#1, Dec 21 2000, 15:29:08) [GCC egcs-2.91.66
> 19990314/Linux (egcs-
> System Platform  linux-i386



> We are using ZPT, and trying to call a dtml-method (if there is a ZPT
> method
> to use mailhost we'd be glad to know)



> This is the method code:

> <dtml-sendmail mailhost="MailHost">
> To: Cable-Test <cable-test@rangebroadband.com>
> Cc: Automated Request <<dtml-var getEmailByName>>
> <dtml-if mailSupport>Bcc: Support <support@rangebroadband.com></dtml-if>

Not tested, but if the above dtml-if evaluates to false, you
should get an empty line in your header. Perhaps you should try

Cc: Automated Request <<dtml-var getEmailByName>><dtml-if mailSupport>
Bcc: Support <support@rangebroadband.com></dtml-if>

Hope this helps,

oliver