RE: [PHP-DB] mail() ?
| From: | Peter Lovatt | Date: | Wed, 08 May 2002 17:35:39 +0000 |
| Subject: | RE: [PHP-DB] mail() ? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19050@lists.php.net to get a copy of this message | ||
fair point about spam........
and in the UK it may breach Data Protection , which is bad idea!
If the company did not declare that it would use the data to mailshot, or
worse, not say it was collecting it at all then they (DP) have BIG sticks so
warn your customer, if that s the case
Peter
-----------------------------------------------
Excellence in internet and open source software
-----------------------------------------------
Sunmaia
www.sunmaia.net
info@sunmaia.net
tel. 0121-242-1473
-----------------------------------------------
> -----Original Message-----
> From: Gurhan Ozen [mailto:c-gurhan.ozen@wcom.com]
> Sent: 08 May 2002 18:01
> To: Dave Carrera; php-db@lists.php.net
> Subject: RE: [PHP-DB] mail() ?
>
>
> Dave,
> if they are in the database, just issue your query to retrieve the email
> addresses, and loop thru the result set, and mail() each address..
>
> for ($i=0; $i < $number_of_rows; $i++){
>
> $address= ($row["email"]);
> mail("$address,.......);
> }
>
> Gurhan
>
> -----Original Message-----
> From: Dave Carrera [mailto:dave@davecarrera.com]
> Sent: Wednesday, May 08, 2002 12:49 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] mail() ?
>
>
> Hi All
>
>
>
> One of my customers has gathered email addresses via a web site I
> designed an wishes to send an email announcing a special offer to all
> these addresses.
>
>
>
> I know how to do them singularly, but my question is how can I make an
> array ( I think.) from my mysql db containing these email addresses and
> send each one the same email, one by one not cc or bcc.
>
>
>
> While I await your help and guidance in this issue I will be looking in
> various manuals and php.net for mail() but I know this topic is hardly
> covered in this kind of detail.
>
>
>
> As always you help, guidance, pointers or code examples are very much
> appreciated.
>
>
>
> Thank you in advance.
>
>
>
> P.S; I was able to help someone with knowledge I gained from all of your
> help today. It feels great to give back a bit when you can ;-)
>
>
>
>
>
> Dave Carrera
>
> Php Developer
>
> http://davecarrera.freelancers.net
>
> http://www.davecarrera.com
>
>
>
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>