you don't include the mail class? or the include path is incorrect . 2009-04-21 zhoo 发件人: Warren Vail 发送时间: 2009-04-21 15:41:25 收件人: ramesh.marimuthu@xxxxxxxxx; php-general@xxxxxxxxxxxxx 抄送: 主题: RE: [PHP] MAIL Error 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: [PHP] 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