Mail::factory issue

From: Date: Tue, 29 Jul 2003 20:44:41 +0000
Subject: Mail::factory issue
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6904@lists.php.net to get a copy of this message
Here is a section of code: print("creating"); $mail =& Mail::factory('smtp'); print("sending"); $mail->send('andrew@copeandmcphetres.com', $hdrs, $body); if(PEAR::isError($mail)) print("Error"); If I run this I only get the "creating" printed, never gets to the send function. All of the defaults for smtp should be OK (localhost:25, etc). Any ideas on this? Andrew.

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