| You are here: Home > Scripts > PHP Opt In Email Script |
| ||||||||||||||||||||
Back to ScriptsOpt In ScriptHow do I create my own Opt in email list? The example below requires "Mailman" (a Python based mailing list application). If you are using CPanel then your Hosting Providor should also have available Mailman (comes with the default installation). If not I would recommend using Web Hosting Canada .ORG The mailing list is set up as an Opt In list and an email announcement list. Meaning only the administrator can send emails to this list (see below for setting up Mailman to be a distribution only). The Opt in form To get users to sign up, the form needs to make the form as simple as possible. (See below) The output: The url address tends to remain in the same path for CPanel installations action="http://[domainname]/mailman/subscribe/[listname]_[domainname]" In our case the domain name is "elouai.com" and the mailinglist name is called "smilies" We pass along ONE attribute, "email" Passwords are autogenerated since they were not specified. The user can request the password be sent to his/her email account. Setting Mailman as a Distribution list ONLY
The following settings ensures that ONLY the administrator can send out emails,
while the subscribers if they attempt to email the list will receive a generic message
notifying them that this is a ... |
|
contact us: elouai@gmail.com ©2003-2010 eLouai.com, All rights reserved |