Re: Mail Package - Timeout problems

From: Date: Wed, 30 Apr 2003 22:02:57 +0000
Subject: Re: Mail Package - Timeout problems
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5145@lists.php.net to get a copy of this message
I should probably provide a little mote input. Here is the bit of code I wrote that I'm using: function mailer($to, $subject, $body) { $headers['From'] = "webmaster@savvis.net"; $headers['Subject'] = $subject; $params['host'] = "private.savvis.net"; if ($to && $subject && $body){ $message =& Mail::factory('smtp', $params); $message->send($to, $headers, $body); return 1; }else{ return 0; } } It's a very simple little script, but I don't see why it's having problems. Thanks in advance! Josh "Joshua Groboski" <joshua.groboski@savvis.net> wrote in message news:20030430215720.82728.qmail@pb1.pair.com... > I am having intermittent timeout problems with the Mail package, but it > always seems to take a long time to execute. > > I am on a W2k box with IIS5 and PHP4.3.1 > > Has anyone else experienced this problem and what might I do to resolve it? > > Joshua Groboski > SAVVIS Communications > http://www.savvis.net >

« previous php.pear.general (#5145) next »