RE: [PHP-DB] Re: Mail problem
| From: | Russ | Date: | Mon, 05 Aug 2002 01:15:13 +0000 |
| Subject: | RE: [PHP-DB] Re: Mail problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20986@lists.php.net to get a copy of this message | ||
See the php manual pages for the mail() function.
Calling mail multiple times is a very inefficient way of sending mail.
Better, only call it once, but loop thru the email result-set and mail
via cc, or Bcc header fields.
Check the manual, it's really very helpful! :-)
http://www.php.net/manual/en/ref.mail.php
http://www.php.net/manual/en/function.mail.php
Also edit your php.ini file to reference your remote SMTP mail server.
Russ
-----Original Message-----
From: Georgie Casey [mailto:webmaster@filmfind.tv]
Sent: Monday, August 05, 2002 7:25 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Re: Mail problem
maybe use a for loop and mail command.
should work
"Unknown Sender" <bogus@news.php.net> wrote in message
news:002701c23924$da9b1e40$539f4dd5@administrator...
Sorry to be a little bit off topic.
I need a tool or script in PHP, that will automaticaly send e-mails to
receipients taken from database.
For example 1 the same e-mail to 1000 receipients. B
Mail server is on different machine.
Thanks in advance
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php