smtp gmail server php mailer not working
I know this question has been asked many a times before. But the solutions didn't seem to help me . So hereby I am posting my code: <?php require("class.phpmailer.php"); require("class.smtp.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host="smtp.gmail.com"; $mail->SMTPDebug=1; $mail->SMTPAuth=true; $mail->SMTPSecure="ssl"; $mail->Port=465; $mail->Username ="me@gmail.com"; $mail->Password="mypassword"; $mail->AddAddress("to@yahoo.co.in"); $mail->SetFrom("me@gmail.com", "myname"); $mail->AddReplyTo("someone@gmail.com","someone"); $mail->Subject="Greetings from ME"; $mail->Body=