That's one of the main reasons you would want to use the mail() function. I wouldn't advise a fork() here, but if you really insist, see the pcntl extension - http://php.net/pcntl
-Rasmus On Wed, 12 Jun 2002, Nathan Cassano wrote: > > Hi PHP folks, > I have a program that sends out email by making socket > connection to our email server. The problem is that the program is very > slow because it has to finish talking to the email server until it can > proceed with the next email (as opposed to the mail() function that just > forks off a sendmail process). Is there a way for PHP to fork or > multi-thread to do I/O? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php