[Zope] Email help

Chris Withers chrisw@nipltd.com
Mon, 23 Sep 2002 12:53:26 +0100


Colin Fox wrote:
> context.sendreport(email='me@myemail.com', emailtype='1', \
>     reportid='summary', disclaimer_text='')

..as sendreport is a DTML method, this isn't correct.

it should be:

context.sendreport(context,context.REQUEST,
                    email='me@myemail.com', emailtype='1', \
                    reportid='summary', disclaimer_text='')

cheers,

Chris