Re: sending bulk emails
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: sending bulk emails | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13933@lists.php.net to get a copy of this message | ||
> Does anybody know how to send bulk emails using php?
Don't do it!!
But of you must - I guess you could build an array containing email addresses, names, etc - taken
from form input or a database or whatever and then loop the arrays mailing people...
$mail = "mail(";
for($i=0; $i<$email_array_name;$i++( {
$mail .= "$values,";
}
$mail .= "\"$subject\",\"$body\",\"From: $from\");";
Something like that anyway (that's just off the top of my head)
Regards.
Russ
On Fri, 2 Nov 2001 11:26:22 -0000 Cami <cami@fcpl.com> wrote:
> Hi guys,
> Does anybody know how to send bulk emails using php?
> Thanks,
> Cami
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
Room 1C 'The Eastings' East Road, Cambridge
e: r.j.michell@apu.ac.uk
w: www.apu.ac.uk/webteam
www.theruss.com
#-------------------------------------------------------#