I'd like to create a simple mailing list script that sends short emails to subscribers to let them know my website has been updated. (Not automatically, I would send them manually.)

First I thought to get all the addresses out of an SQL table and put them in an array, then use a foreach loop to send the message to each email address one at a time.

I found some threads about this topic but my question is more basic: Is there anything to be worried about? Will there be problems if there end up being a large number of subscribers? Will I get banned for spamming? If so, what would be a better way to do this?

(I tried also doing it with BCC headers but it didn't work very well. Is BCC a better way?)

I tried to find simple php mailer scripts on Google but they were all way too complicated for what I want to do (just sending simple short text-only html messages with links to the updated content). And I'd rather write it myself to learn how anyway. I could get a mass mailing program, but I really wanted to do it all from PHP.

    you should send the emails with a little delay in time. Once you write the message, lets fill the emails into a temporary table and set a "send_date-time" to each emails, and add at least 10 minutes to each email block.

    1. block: emails from 0-20
    2. block: emails from 21-40

    you need to apply a link to your message to give the right to sign OFF your news.
    Your register page should ask this: do you want to get updates?

    and yes, its name is spamming.
    jjozsi.

      Write a Reply...