Gossamer Forum
Home : Products : Gossamer Forum : Pre Sales :

MailArc bi-directional?

Quote Reply
MailArc bi-directional?
So I see that MailArc can archive messages from a mail list - can it go the opposite way, so that users that only want to use the forums can post, and the mail list users can see and reply to it.

Thanks.
Quote Reply
Re: [dsully] MailArc bi-directional? In reply to
Hi,

No, currently the MailArc plugin just acts as an Email->Forum gateway, we don't have anything prebuilt that would facilitate the reverse.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] MailArc bi-directional? In reply to
It shouldn't be too hard to add code to a) have a user that signed up to the forum be added to the mail list subscriber list - but not to recieve email. b) have any post be bundled up as an email From: the forum user To: the mail list. - Is that by your estimate an afternoon's work?

Thanks.
Quote Reply
Re: [dsully] MailArc bi-directional? In reply to
Hi,

The first part depends on what you are using for the mailing list, as it would require modifications to that as well. Sending out a mail to the mailing list with the proper headers would be quite easy if you are comfortable in perl.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] MailArc bi-directional? In reply to
Mailman currently - which is in python, but I believe some simple command line calls can do what I want.

Where in the GForum code should I start looking to have it send email?

Thanks.
Quote Reply
Re: [dsully] MailArc bi-directional? In reply to
Hi,

If you want to do it as a plugin that will survive upgrades, you'll want to look at the insert_post hook. If you just want to modify the code directly, try GForum/Table/Post.pm, sub _plg_write.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] MailArc bi-directional? In reply to
I assume you mean _plg_insert, and not _plg_write?
Quote Reply
Re: [dsully] MailArc bi-directional? In reply to
Oops, yes. Working from memory. =)

Cheers,

Alex
--
Gossamer Threads Inc.