Re: Emailing a Database

From: Date: Tue, 10 Oct 2000 01:25:45 +0000
Subject: Re: Emailing a Database
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-3449@lists.php.net to get a copy of this message
Peter Burgess wrote: > I've created a database of customers and their email addresses > in mySQL but have no idea how to email all those addresses. > Could someone point me to some tutorials or render some advice. > From reading some resources I know that this can be achieved > via perl but can php perform this function. Any advice would be > welcomed. PHP could perform this function, assuming you want to use a web page to generate the E-mail each time. Did you look at mail functions? <http://www.php.net/manual/ref.mail.php> Do something like ... (pseudo-code): SELECT EMail from MailingList; foreach (of the results) mail ($Result["EMail"], $Subject, $Message);

« previous php.db (#3449) next »