FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Mailing List Functionality w/crontab, instead of .procmailrc or .forward
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Mailing List Functionality w/crontab, instead of .procmailrc or .forward [message #14941 is a reply to message #14860] Tue, 25 November 2003 20:31 Go to previous messageGo to previous message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma:
Senior Member
Ok, here's my latest work.

I have modified the code to hold an array of mailing list addresses. As each message comes in the header is parsed for a To: or Cc: header and the array is searched on these values, which are then used to determine which numeric argument to send to maillist.php.

So if the array has:

mylist.myhost.com
yourlist.myhost.com

Then it will call maillist 1 or maillist 2 accordingly.

I have also removed the command-line arguments of the script as you no longer really need them, since one email address can now handle multiple lists.

I am releasing my version under the GPL if blackops does not object, and have attributed you(blackops) in the copyright notices.

Anyway, I hope this is useful...

  • Attachment: popfud.php
    (Size: 4.37KB, Downloaded 1480 times)

[Updated on: Tue, 25 November 2003 20:32]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Request: Message body color based on user level
Next Topic: extra line breaks and anchors when editing/quoting mailing list posts
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 21:42:55 GMT 2024

Total time taken to generate the page: 0.03492 seconds