I need to send mail using PHP Mailer.
Mail is sending but not received in gmail. In phpmailer folder i have 3 files: class.phpmailer.php, class.smtp.php, PHPMailerAutoload.php
require 'phpmailer/PHPMailerAutoload.php';
    $mail = new PHPMailer;
    $mail->isSMTP();
    $mail->Host='smtp.gmail.com';
    $mail->Port=587;
    $mail->SMTPAuth=true;
    $mail->SMTPSecure='tls';
    $mail->Username='mail@gmail.com';
    $mail->Password='password';
    $mail->setFrom('mail@gmail.com','Company');
    $mail->addAddress('company@gmail.com');
    $mail->addReplyTo('mail@gmail.com');
    $mail->isHTML(true);
    $mail->Subject='New Form Submission';
    $mail->Body='<h1>Hello</h1>';
    header("Location: ../123.php");
