previousMail (Previous) (Next) Introductionnext

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Mail

An interface for sending EMails

Table of Contents
previousMail (Previous) (Next) Introductionnext

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: cgoebels@das-netz-erobern.de
I get exactly the same error message, and I have made sure I've put require_once('Mail.php') and nothing else there. :(
Any ideas?
Is this a bug?
Note by: belldandy_sama_4@yahoo.com
here is the code:

89 $smtp = Mail::factory('smtp',
90 array ('host' => $host,
91 'auth' => true,
92 'username' => $username,
93 'password' => $password));
^-line number

here is the error:

Fatal error: Class 'Mail' not found in /home/intercon/public_html/addtemp.php on line 89

can anybody help me with this??

Note by: user@example.com
If you get an error like "Fatal error: Class 'Mail' not found" then you probably put

require_once "Mail/mail.php";

when you should have put

require_once "Mail.php";