ezmlm is a qmail-based mailing list manager written by Dan J. Bernstein.
From their site: “It has all the basic functionality of a mailing list manager, such as subscriber address management including automated bounce handling as well as message distribution and archiving. Its purpose is to efficiently send a message to a large number of recipients with minimal delay. It allows automated additions and subtractions from the subscriber database.”
i have seen it installed as the default built-in mailing list software for some shared hosting providers.
i needed a way to let visitors subscribe/unsubscribe to the ezmlm mailing list directly from a webpage.
but, when i searched the web for any existing WordPress plugins that could do this - i could not find any.
so, i thought there might be some wordpress users or admins that want to integrate ezmlm with their website using a standard web-based html signup form and some php magic.
description:
This plugin will allow visitors to subscribe and unsubscribe to your ezmlm mailing list - directly from your website - without having to manually send an email from their email client.
tested with WordPress 2.3.x
tested on Superb Hosting, and ezmlm mailing list software.
features:
- basic error and spam checking built right into the plugin.
- automatically prints out a “Thank You” or “Error” message on submit
- you can use css to style the submit form to your heart’s content.
- works even when your ezmlm is on a different server than you web server.
- choose between using a standard text button or an image as your submit button.
- choose between using the defulat privacy message, a custom message, or no message at all.
download:
ezmlm subscribe form v1.0
basic install:
- download the plugin file, place it in the plugins directory, and active the plugin.
- configure the plugin by going to Options > ezmlm signup form (see below for more details).
- add the following code to your theme where you would like the ezmlm subscribe/unsubscribe form to appear.
ezmlm options:
There are only 4 configuration options so far..
- Set the Name of your mailing list (for example, you would enter: newsletter, if your mailing list was at: newsletter-subscribe@yourdomain.com)
- Set the Domain of your mailing list (for example, you would enter: yourdomain.com, if your mailing list was at: newsletter-subscribe@yourdomain.com)
- If you want to use an Image as the submit button: Enter the full URL to the image file (URL format: http://www.yourlocation.com/path/to/image.jpg - leave this blank and the form will use a standard text submit button)
- If you want to set a custom privacy message: Enter it in the textarea provided (Or, type: DEFAULT and the default message will be displayed. Or, leave this area blank to have no privacy message displayed at all. Hint: you can use html in here too.)
screencap:


advanced usage:
- Template Tags -
To place ezmlm signup form on a specific page - like page 408 - add the following code to your page.php template file.
if( function_exists(‘ezmlm_submit_form’) ) { ezmlm_submit_form($display = true); }
} ?>
- Custom CSS -
You can style the signup form by adding the following IDs to your style.css file.
#ezmlmform (is the ID for the entire form)
#urlsubmit (is the ID for the image upload button)
#ezmlmform { border:1px solid #000; padding:5px; }
credits:
Much of this code was borrowed from a forum thread called: ezmlm php subscribe/unsubscribe form
Documented here: http://forum.qmailrocks.org/showpost.php?p=16649&postcount=2.
Comments 2
I tried downloading the plugin , uploading it on plugins folder and puting the code but it didn’t display anything.
Posted 15 Jul 2008 at 5:54 am ¶what version of wordpress are you using?
Posted 29 Jul 2008 at 1:29 pm ¶Post a Comment