Bug #3489 [Opn]: Call to undefined function: send()

From: Date: Wed, 16 Feb 2005 09:20:26 +0000
Subject: Bug #3489 [Opn]: Call to undefined function: send()
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5535@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=3489&edit=1 ID: 3489 User updated by: webmaster at ukrainebride dot net Reported By: webmaster at ukrainebride dot net Status: Open Type: Bug Package: Documentation Operating System: FreeBSD PHP Version: 4.3.4 New Comment: full list of my code: <?php include('Mail.php'); include('Mail/mime.php'); $text = 'Text version of email'; $html = '<html><body>HTML version of email</body></html>'; $file = '/keys.txt'; $crlf = "\n"; $hdrs = array( 'From' => 'info@ukrainebride.net', 'Subject' => 'Test mime message' ); $mime = new Mail_mime($crlf); $mime->setTXTBody($text); $mime->setHTMLBody($html); $mime->addAttachment($file, 'text/plain'); $body = $mime->get(); $hdrs = $mime->headers($hdrs); $mail =& Mail::factory('mail'); $mail->send('webmaster@ukrainebride.net', $hdrs, $body); ?> Previous Comments: ------------------------------------------------------------------------ [2005-02-16 04:16:06] webmaster at ukrainebride dot net Description: ------------ When starting this example I have received the PHP error on the last row ( $mail->send(... ): Fatal error: Call to undefined function: send() in... I have used for this example the next packages: Mail-1.1.4 Mail_Mime-1.2.1 PEAR-1.3.4 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=3489&edit=1

« previous php.pear.doc (#5535) next »