Hi ‘ . $name . ‘!
‘; $message .= ‘CLICK TO ACTIVATE YOUR ACCOUNT‘; $message .= ““; // php mailer code starts $mail = new PHPMailer(true); $mail->IsSMTP(); // telling the class to use SMTP $mail->SMTPDebug = 1; // enables SMTP debug information (for testing) $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = “ssl”; // sets the prefix to the servier $mail->Host = “smtp.gmail.com”; // sets GMAIL as the SMTP server $mail->Port = 465; // set the SMTP port for the GMAIL server $mail->Username = ‘dj4rkg@gmail.com’; $mail->Password = ‘dev@62das’; $mail->SetFrom(‘dj4rkg@gmail.com’, ‘Your Name’); $mail->AddAddress($email); $mail->Subject = trim(“Email Verifcation “); $mail->MsgHTML($message); try { $mail->send(); $msg = “An email has been sent for verfication.”; $msgType = “success”; } catch (Exception $ex) { $msg = $ex->getMessage(); $msgType = “warning”; } } else { $msg = “Failed to create User”; $msgType = “warning”; } } } catch (Exception $ex) { echo $ex->getMessage(); } } get_header(); ?> “”) { ?>