Reinhart Viane wrote: > I use a while loop and the mail function to send email to all subscribers > of > a site. This works fine for 50 users but I know there can be some problems > when you do it like this for 1000 users. > > Eg. Limit of page execution is exceeded and even server crashes because > each > time a mail is send a socket is opened and closed again. > > > > Now I have found some functions (fsock_open of an SMTP service) and some > pear classes > > > > Unfortunately I have a windows server hosting that site. > > Anyone knows how to do mass email on a windows server? I believe you can install, errr, MS Exchange???, to get an SMTP server. You could also find a webhost somewhere that provides SMTP service, for a fee. You may want to consider sending ONE email with Bcc: but the spam filters may count that against you in their filtering, and some recipients won't get it unless the whitelist you first. [sigh] There are also some nice mail-sending classes at http://phpclasses.org which I believe have documentation specifically about this topic. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php