[Zope] Using ZWiki's mailin with a DTML form?

S. D. sdownie at myway.com
Wed Mar 17 15:50:03 EST 2004


In Plone 1.0.5/Zope 2.6.1/ZWiki 0.28/Win 2k, I have a DTML page that
collects feedback and mails it out to our University SMTP server. I also
need to route that information to a Zwiki in the same Plone site. Since
there aren't any appealing sendmail options for the Windows platform, I
thought it would be nice if I could use ZWiki's mailin External Method to
take the info that the DTML page spits out and feed it directly into a ZWiki
page.

Simon suggested:
> dtml-call "wikifolder.ExistingPage.edit(page='NewPage',
> text=reporttext, REQUEST=REQUEST)'

but looking at Editing.py, I don't see where to begin. It seems like I need
to add code to the DTML page to send the info to a wiki page--a set wiki
page which will accumulate the information. I don't know how that dtml-call
gets me from the DTML page to the ZWiki page.

Can anyone offer any advice on how to connect a DTML page, which is
essentially just a traditional form, and ZWiki by using a mailin-like
configuration on the ZWiki end?

Thanks!

Scott






More information about the Zope mailing list