isSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->Username = 'kesz.rs.srb@gmail.com'; $mail->Password = 'weoklmxotggcafyo'; $mail->Port = 465; $mail->SMTPSecure = 'ssl'; $mail->isHTML(true); $mail->setFrom($email, $name); $mail->addAddress('kesz.rs.srb@gmail.com'); $mail->Subject = ("$email ($subject)"); $mail->Body = $message; $mail->send(); header("Location: /node/21.php?=email_sent!"); } ?>