Forum Moderators: phranque
Assuming a server with php you could just pull the emails addresses from the database and loop through an array with the php mail function.
Couple of lines at the most.
[us3.php.net...]
As you can tell by now, large amounts of data in static pages limits you to that one implementation. If the data is in a raw format - even a plain text database - you can
- output page displays exactly as you have them now, but extracted from the database
- allow the visitor to re-order the output
- make it searchable
- access the data for other functions (email as you mentioned)
Get your feet wet with a "flat file" database at first. This will train you to how you access DB data:
"id","email","fname","lname","address".......
Once you understand how to manipulate the data (probably using PHP) you simply apply those concepts to connecting to a real database: mySQL, posGresSql, etc.
Legal - are you breaching any local anti-spam or data protection regulations? We can't answer that as these vary from country to country and sometimes by state or province within country.
Recipients - will you be regarded as a spammer? This can result in complaints to your service provider or blacklisting. Have they opted in?
Recipients email providers - may block multiple emails from the same source or may otherwise see you as a spammer.