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

Home » FUDforum » How To » Mailing list integration help?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Mailing list integration help? [message #14824 is a reply to message #14792] Fri, 21 November 2003 18:24 Go to previous messageGo to previous message
blackops is currently offline  blackops   United States
Messages: 12
Registered: July 2003
Karma:
Junior Member
I have written a script that logs into a POP server and grabs one message at a time, routing them through mailinglist.php. Here is the code. Notice the few places I have <TEXT>. Please replace those occurrances (including the "<" and ">") with the actual values.

This script creates a temp file, logs into a POP server, downloads one message at a time, storing it in the temp file, and pipes the contents of that file into maillist.php. It expects two command-line arguments: POP_account_name and list_id.

Example from the command line:
php -q /home/virtual/site2/fst/var/www/html/test/fmail.php f-general-user 2

[EDIT: instead of pasting script contents, attached script as file.]
  • Attachment: fudmail.php
    (Size: 1.25KB, Downloaded 571 times)

[Updated on: Fri, 21 November 2003 18:26]

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
Previous Topic: Email notification question
Next Topic: remove 'update' button
Goto Forum:
  

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

Current Time: Tue Nov 26 12:45:32 GMT 2024

Total time taken to generate the page: 0.03878 seconds