PEAR send mail problem

From: Date: Tue, 29 Jul 2003 18:59:01 +0000
Subject: PEAR send mail problem
Groups: php.general 
Request: Send a blank email to php-general+get-157392@lists.php.net to get a copy of this message
Hello, I'm writing a program to send mail via the PEAR Mail module. Here is some code fragments: require_once "Mail/Mail.php"; require_once "Mail/Mime.php"; . . $body = $mime->get(); $headers = $mime->headers($headers); $mail =& Mail::factory('smtp'); . . $mail->send($email, $headers, $body); I get an error "Call to undefined function: send()" I have the function in the mail.php include don't I? Thanks. Andrew.

« previous php.general (#157392) next »