Re: PHP MySQL mailing list

From: Anthony Papillion-Saffer (anthony_at_opensource-strategies.com)
Date: 01/10/05


Date: Mon, 10 Jan 2005 00:54:20 -0600


Jeff <ramsman327@yahoo.com> wrote in message
news:FaCdnXnaK8paqkHcRVn-2Q@comcast.com...
> Hello,
> I am new to PHP and have been trying to figure out how to send a
> newsletter using email addresses from a MySQL database. I did a youth
> basketball website and the some parents signed up for a newsletter and I
> have the email info in a database.
> I understand how to send one email, or multiple emails using the
comma
> and the actual email addresses. My question is how do I include all email
> addresses from the database?
>
> Thanks in advance for any and all help,
>
> Jeff

In addition to what Lee Marsh said I wanted to add that you should NOT try
to send the email "with the email addresses separated by commas". First,
it's very impersonal and second it wreaks of spam and some, if not most,
spam filters will reject it on this basis.

Instead, do as Lee said and loop through the list of emails sending ONE
email per entry to ONLY that record's email address.

Anthony



Relevant Pages

  • Re: PHP MySQL mailing list
    ... Do a select command from the database something like this: ... /*then do the email command which i don't know off the top of my head. ... "Jeff" wrote in message ... > newsletter using email addresses from a MySQL database. ...
    (alt.php)
  • Re: How do you make an access database foolproof ?
    ... You're gonna give Jeff the big head. ... Access Security: www.ltcomputerdesigns.com/Security.htm ... Make sure all of the data entry for the database is through forms. ... >> I am not referring to run-time error messages here. ...
    (microsoft.public.access.security)
  • Re: Client/Server Application issue
    ... I have the 1 user logged in & so it would freeze for another. ... that references the database, ex. ... I step through the rest of the code the program opens up. ... "Jeff Boyce" wrote: ...
    (microsoft.public.access.tablesdbdesign)
  • Re: External/Internal tables
    ... Thanks for the input Jeff. ... I actually own the other database. ... like to be add additions I make to tblStaff to the tblPeople dynamically. ... While you might need to keep two separate lists if you were using Excel, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Comments/help on database design
    ... Jeff, those terms are unfamiliar to me, sorry! ... uses gradually expanded and the database is now showing its weak points. ... Jeff Boyce wrote: ... It's a bit of a "pay now or pay later" situation, ...
    (microsoft.public.access.tablesdbdesign)