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.


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to