Re: [Zope] MailHost problems
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
I tried this and got the same traceback result. We checked this with just a To and From header(explained below) and while the mail was sent the headers where mangled. Thanks for the help... -- Jeffrey D. Peterson Webmaster/Web & Web Applications Engineer Range TV Cable & Broadband 1818 E. 3rd Ave. Hibbing, MN 55746 jpeterso@rangebroadband.com
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Oliver Bleutgen Sent: Wednesday, September 12, 2001 1:24 PM To: zope@zope.org Subject: Re: [Zope] MailHost problems
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
_______________________________________________ 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 )
participants (2)
-
Jeff Peterson -
Oliver Bleutgen