Forum OpenACS Development: Re: Forum Threads fed by Email

Collapse
Posted by Iuri Sampaio on
Hi there,

I have implemeted a callback to receive emails, create new forums, new threads, and answer existent threads, based on the email properties (i.e. to, from, subject and body template and content.

I forked forum pkg, adding this new chunk of code, within forums/tcl/forum-callback-procs.tcl and -postgresql.xql. I've added directly within forum pkg core.

My goal was to implement my MVP and test it quickly. I could easily create a new pkg, as an extension of forum's pkg. If we decide this code is worthwhile. It's very small, simple and straight forward.

Many thanks do Dave. I grabbed his original source code from bug-tracker.

Best wishes,
I

## ad_proc -public -callback acs_mail_lite::incoming_email -impl
forums {
{-array:required}
{-package_id ""}
} {
a callback that posts a new forum or thread to a forums instance
} {
upvar $array email

...