Your Name: '.$_POST['name'].'

Your Email: '.$_POST['email'].'

Subject: '.$_POST['phone'].'

Message: '.$_POST['msg'].'

'; //Load Composer's autoloader require 'vendor/autoload.php'; $mail = new PHPMailer(true); // Passing `true` enables exceptions try { //Server settings $mail->SMTPDebug = 0; // Enable verbose debug output $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = 'smtp.ionos.com'; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = 'contact.mstrading@prithvibiznez.in'; // SMTP username $mail->Password = 'Kpmstrad!ng@123#^*'; // SMTP password $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted $mail->Port = 587; // TCP port to connect to //Recipients $mail->From = 'noreply@mstrading.disign.in'; $mail->FromName = 'Kreative Pool'; $mail->addAddress(' srijithvmaharshi@gmail.com', 'VG CONSCTRUCTION'); // Add a recipient //$mail->addAddress('ellen@example.com'); // Name is optional //$mail->addReplyTo('info@example.com', 'Information'); //$mail->addCC('cc@example.com'); //$mail->addBCC('bcc@example.com'); //Attachments // $mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments // $mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name //Content $mail->isHTML(true); // Set email format to HTML $mail->Subject = "Enquiry | MS Trading"; $mail->Body = $msg; //$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; $mail->send(); echo ''; header("Refresh:0"); exit; } catch (Exception $e) { echo '', $mail->ErrorInfo; } } ?> VG Construction | Mysore

 +91-9343535895   hvguruprasad@gmail.com

Contact us for Enquiry

Address

#1011/1, 2nd main,
4th cross, Vidyaranyapuram
Mysore - 570008 Tel: +91 8880555353



We Understand Your Needs on Construction.         Get Quote