Isn't mail a function and not a class? Warren > -----Original Message----- > From: ramesh.marimuthu@xxxxxxxxx [mailto:ramesh.marimuthu@xxxxxxxxx] > Sent: Tuesday, April 21, 2009 12:29 AM > To: php-general@xxxxxxxxxxxxx > Subject: MAIL Error > > Hi All, > > While using $m=new MAIL; I get an error "Fatal error: Class > 'MAIL' not found in...". > > Can anyone help on this? > > regards, > -ramesh > > P Save a tree...please don't print this e-mail unless you > really need to > > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive > use of the addressee(s) and may contain proprietary, > confidential or privileged information. If you are not the > intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and > destroy all copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The > recipient should check this email and any attachments for the > presence of viruses. The company accepts no liability for any > damage caused by any virus transmitted by this email. > > www.wipro.com > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php