Isn't mail a function and not a class?


> -----Original Message-----
> From: [] 
> Sent: Tuesday, April 21, 2009 12:29 AM
> To:
> 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. 

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to