{"id":15492986,"url":"https://github.com/simison/php-mailman","last_synced_at":"2025-04-22T19:45:06.487Z","repository":{"id":866628,"uuid":"604720","full_name":"simison/PHP-Mailman","owner":"simison","description":"PHP Class to use some functionality of GNU Mailman","archived":false,"fork":false,"pushed_at":"2020-10-01T21:23:42.000Z","size":5,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T18:11:27.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simison.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-04-11T05:18:08.000Z","updated_at":"2021-02-20T01:25:18.000Z","dependencies_parsed_at":"2022-07-18T14:47:27.039Z","dependency_job_id":null,"html_url":"https://github.com/simison/PHP-Mailman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simison%2FPHP-Mailman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simison%2FPHP-Mailman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simison%2FPHP-Mailman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simison%2FPHP-Mailman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simison","download_url":"https://codeload.github.com/simison/PHP-Mailman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250310840,"owners_count":21409746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T08:03:14.885Z","updated_at":"2025-04-22T19:45:06.457Z","avatar_url":"https://github.com/simison.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":" php_mailman\n===========\n\nThis is just a basic skeleton to send some most used commands to Mailman.\nYou shouldn't echo functions out, because cURL returns an admin view.\nThough you can use something like [Simple HTML DOM](http://simplehtmldom.sourceforge.net/) \nto get some feedback from this class. Use at your own risk, though.\n\n\n## You can\n\n* Subscribe\n* Unsubscribe\n* Set digest\n* List a member\n* List lists\n \n\n## Howto\n\nConstruct:\n\n`require_once('php_mailman.php');`\n\n`$mailman = new php_mailman('domain.com', 'password', 'listname_domain.com');`\n\n\nSubscribe:\n\n`$mailman-\u003esubscribe('email@address.com');`\n\n\nUnsubscribe:\n\n`$mailman-\u003eunsubscribe('email@address.com');`\n\n\nSet digest:\n\n`$mailman-\u003edigest('email@address.com');`\n\n\nList member:\n\n`$mailman-\u003elist_member('email@address.com');`\n\n\nList lists:\n\n`$mailman-\u003elist_lists();`\n\n\nRe-set settings:\n\n`$mailman-\u003eset_domain('domain.com');`\n\n`$mailman-\u003eset_adminpasswd('password');`\n\n`$mailman-\u003eset_listname('listname_domain.com');`\n\n`$mailman-\u003eset_protocol('https');`\n\n`$mailman-\u003eset_listlanguage('fi'); // shortcode (en, de, etc...)`\n\n`$mailman-\u003eset_notifyowner('1'); // 1 = yes | 0 = no`\n\n`$mailman-\u003eset_notifyuser('1'); // 1 = yes | 0 = no`\n\n`$mailman-\u003eset_digest('1'); // 1 = yes | 0 = no`\n\nOr you can set all these on start:\n\n`$mailman = new php_mailman($domain, $adminpasswd, $listname, $protocol, $listlanguage, $notifyowner, $notifyuser, $digest);`\n\n\n## Read more\n\nMailman Wiki: [Additional web administration tools?](http://wiki.list.org/pages/viewpage.action?pageId=4030567)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimison%2Fphp-mailman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimison%2Fphp-mailman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimison%2Fphp-mailman/lists"}