[Zope-CMF] Mailhost

Tim Fouracre jhgfjhgfjhgfjhgf@hotmail.com
Wed, 22 Aug 2001 13:17:39 +0000


In the join_form, I give users the option to subscribe to a mailing list. 
Thus when the register form is called, I have added the following code to 
mail the list.

      <dtml-if expr="REQUEST.get('discuss_checkbox',1)">
       <dtml-sendmail mailhost="MailHost">
        To: join-censml-discuss@lyris.nipltd.com
        From: <dtml-var email>
        Subject: Subscribe
       </dtml-sendmail>
      </dtml-if>

However the Register Form seems to be throwing a wobbly over the Mailhost, 
and I get an unauthorised error. I tried using the Proxy feature to give the 
Register Form manager status so that it could handle the Mailhost, but this 
didn't work.

Any ideas

Cheers

Tim

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp