RE: [PHP] Mailto members..?
| From: | Jim Moseby | Date: | Wed, 01 Mar 2006 15:18:46 +0000 |
| Subject: | RE: [PHP] Mailto members..? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231259@lists.php.net to get a copy of this message | ||
> Hi guys!
>
> Anyone knows of something like this, but for free?
> http://www.webscriptsdirectory.com/PHP/E-Mail-Systems/Php-News
> letter-Script-L1237/
>
> All I want to do is to send "a html mail" to all my members at
> http://www.stammis.com/ (swedish site for pedigrees). It would
> be a
> informative letter that tells them about latest news at
> Stammis Internet.
>
> I could something like this...
>
> while ($dbArray = mysql_fetch_array($querys)) {
> ...sendmail (from, to, htmltext...)...
> }
>
> but this will bring a timeout. Any suggestions? (I don't want
> to change the
> timeout - value, it doesn't seem correct)
I wouldn't be shy about adjusting your timeout value. Its common practice
to do so. Sounds to me you just need to read up on the mail() function:
http://us3.php.net/manual/en/ref.mail.php
There are TONS of code examples in
the comments at the bottom of the page. Others here have mentioned the use
of a mailer class I can't remember the name of (phpmailer maybe?).
JM