This is HTML eMail Sent using PHPMailer. isn't it cool to send HTML email rather than plain text, it helps to improve your email marketing."; $htmlContent = '

Details submitted sucessfully, details are given below.

Full Name: '.$full_name.'
Email: '.$email.'
Message: '.$message.'
'; // $message .= ""; // HTML email ends here try { $mail = new PHPMailer(); // create a new object $mail->IsSMTP(); // enable SMTP $mail->SMTPDebug = 1; // debugging: 1 = errors and messages, 2 = messages only $mail->SMTPAuth = true; // authentication enabled // $mail->SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for Gmail $mail->Host = "smtp.moneda-tech.com"; $mail->Port = 587; // or 587 $mail->IsHTML(true); $mail->Username = "m01cc3a7"; $mail->Password = "44118574q"; $mail->SetFrom("info@moneda-tech.com"); $mail->Subject = "Contact form"; $mail->Body = $htmlContent; $mail->AddAddress("ashleydcunhaa@gmail.com",'Ash'); $mail->AddAddress('info@moneda-tech.com', 'Moneda'); // if(!$mail->Send()) { // echo "Mailer Error: " . $mail->ErrorInfo; // } else { // echo " //"; // } if($mail->Send()) { $msg = "
Hi,
".$full_name.",Thank you so much for your Interest - Our experts will get in touch with you Soon
"; echo ""; } } catch(phpmailerException $ex) { //$msg = "
".$ex->errorMessage()."
"; } } ?> Ever Green Services | Contact ::