It is working fine with database backup in windows and u buntu but after running this command sudo chmod -R 777 backup but it cant send mail. this is the error im getting
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\backup\mysql.class.inc on line 242
Error ON Sending Mail
Anish Karim C - 2009-12-03 07:10:00 - In reply to message 1 from john herman
If you need mailing options in your system, you must install and configure mail server. You better try it in some other web servers that supports php5. Most of the web servers supports mailing functions.