Re: auto e-mail
| From: | Intruder | Date: | Tue, 20 May 2003 21:03:56 +0000 |
| Subject: | Re: auto e-mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148324@lists.php.net to get a copy of this message | ||
ct> can anybody tell me where to start looking........
ct> I would like my php script to send an e-mail to a member of
ct> my database if
ct> "something" happens like a variable is set to a certain value....
When you run your script it should "SELECT" some info about your user
from
database and decide wether to send him something or not. If yes, then
just
<?php
mail(); // see manual on parametres
?>
or else, just pass over to the next user in your database.