PHP Classes
elePHPant
Icontem

PHP Mailman: Manage a mailing list based in Mailman

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-11-30 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 370 All time: 6,446 This week: 1,090Up
Version License PHP version Categories
php-mailman 1.0GNU General Publi...5.0Email, PHP 5, Web services
Description Author

This class can manage a mailing list based in Mailman.

It can send HTTP requests to the Web interface server of a Mailman installation to perform several types of operations with the hosted mailing lists.

Currently it can authenticate as a list administrator and add or remove members directly.

Innovation Award
PHP Programming Innovation award nominee
December 2012
Number 10
Mailman is a popular mailing list manager written in Python.

This class provides a way to manage the subscribers of a mailing list managed by Mailman by sending HTTP requests to the respective Web user interface.

Manuel Lemos
Picture of Angel Talaverón
  Performance   Level  
Name: Angel Talaverón <contact>
Classes: 1 package by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 1x

Details
README:
PhpMailman uses curl for connection to the admin interface of a mailman list.
Ensure the "cookie" file has write permision for the executer user.
EXAMPLE:
$mailman = new PhpMailman(array('url' => 'http://yourdomain/mailman/admin/yourlist', 'clave' => 'tests')); /config connecton
$conexion = $mailman->connect();//first connection to create the cookie
if ($conexion) {
    $conexion = $mailman->connect();//ensure cookie creation
    if ($conexion) {
        $mailman->addMembers(array('member1@avantine.com', 'member2@domain.com'));/adding membres
    }
}
  Files folder image Files  
File Role Description
Accessible without login Plain text file cookie Data cookie file,its need write permision
Plain text file PhpMailman.php Class main class
Accessible without login Plain text file README Doc. README documentation and example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:370
This week:0
All time:6,446
This week:1,090Up