PHP Classes

PHP Mailman: Manage a mailing list based in Mailman

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 357 All time: 6,411 This week: 1,018Up
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
Age: 35
All time rank: 337190 in Spain Spain
Week rank: 1574 Up46 in Spain Spain Up
Innovation award
Innovation award
Nominee: 1x

PhpMailman uses curl for connection to the admin interface of a mailman list.
Ensure the "cookie" file has write permision for the executer user.
$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('', ''));/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:357All time:6,411
 This week:0This week:1,018Up