1
-DJNZ-
Mailing list integration
  • 2005/3/11 22:18

  • -DJNZ-

  • Just popping in

  • Posts: 30

  • Since: 2005/1/11


Is there already a hack to import messages from a mailbox into a forum?

How about integrating with a mailman mailing list for membership management? I am thinking of a script that generates HTTP requests to log in to a mailman script and post admin forms to add members etc. - ugly but the only way I can think of to integrate a mailman mailing list such as you get with most cPanel hosting accounts with XOOPS.

2
gravies
Re: Mailing list integration
  • 2005/8/17 23:57

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Did you ever get anywhere with this?

I just created a simple block to allow my members to subscribe to two GNU Mailman mailing lists by clicking on a submit button.

I would be very interested to know if you got any more integration.

Here is my very simple block for subscribing:

le="color: #000000"><?php global $xoopsUser; if (is_object($xoopsUser)) { $email = $xoopsUser->getVar('email'); } echo "<b>Click to subscribe</b>"; echo '<FORM Method=POST ACTION="http://example.com/cgi-bin/mailman/subscribe/YOURLIST">'; echo '<INPUT name="email" type="hidden" value="'; echo $email; echo '">'; echo '<INPUT type="Submit" name="email-button" value="YOURLIST">'; echo '</FORM>';


This brings up a minor bug with the XOOPS 2.2.x custom php block method - you cannot use \ to escape things! When you submit the page it comes back without the \ . eg. using \" doesn't work.
Join the xoops chat lounge on irc.freenode.net #xoops or use this java client http://www.hyperpod.net/modules/ircmod

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits