isSMTP(); $mail->Host = 'smtpout.secureserver.net'; $mail->SMTPAuth = true; // $mail->SMTPDebug = 4; $mail->Username = 'granthik2011@gmail.com'; $mail->Password = 'narahari@1987'; $mail->SMTPSecure = 'tls'; $mail->Port = 80; $mail->setFrom('naraharisettisatya@gmail.com', 'TEAS & WISHES'); $mail->addAddress($email); // $mail->addReplyTo('info@example.com', 'Information'); // $mail->addCC('hareeshraveed@gmail.com'); $mail->addBCC('naraharisettisatya@gmail.com'); $mail->isHTML(true); $mail->Subject = 'Contact Us'; $mail->Body = 'Name : '.$name.'
Phone : '.$phone.'
Email : '.$email.'
Has written you : '.$message; $mail->send(); $result = ''; } catch (Exception $e) { $result = ''; } } ?> Teas & Wishes

Contact Us