You're going to need to store the data somewhere, and a database is usually the way to go. - A solid mailing list is a lot more complicated than just storing the data though. For starters, you're going to want to consider all of the following:
- Validate the eMail address is in proper form,
- Test for a valid MX record on the address domain,
- Use Captcha (or similar human verification system) to dissuade automated bots
- Double opt-in (confirmation eMail to verify)
- A properly configured bounce back account/rule
- A script to periodically check for bounced addresses (IMAP/POP capable) and remove from your list
- In some cases, a permanent opt-out (black list) option
- A well-designed script to send your bulk eMail, possibly template driven.
- For large lists, you'll want to closely monitor bounces/mail-send-errors in case a domain has decided to block you.
- Again, for larger lists, setting up DKIM on your mail server may also be a good idea
Not to mention all of the other security considerations one would include in a standard mail form, and basic features one would typically want in a mailing list.
Unless you have to do this in-house, this is a case where I'd look for a good, proven commercial/open-source application rather than hiring a scripter.
First Google result I found: http://www.phplist.com/
Last edited by addonchat; 09-03-2009 at 10:33 PM..
|