isSMTP(); //Send using SMTP
$mail->Host = 'smtp.gmail.com'; //Set the SMTP server to send through
$mail->SMTPAuth = true; //Enable SMTP authentication
$mail->Username = 'rushikapanchal36@gmail.com';
$mail->Password = 'ynauukefqvadeeiq';
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
$mail->Port = 587;
//Recipients
$mail->setFrom('rushikapanchal36@gmail.com', 'Lonix'); //sender
$mail->addAddress('lonixceramica@gmail.com', 'Receiver'); //receiver //Add a recipient
//Content
$mail->isHTML(true); //Set email format to HTM
$mail->Subject = 'Lonix';
$mail->Body = "Sender Name - $name
Phone Number - $phone
E-mail - $email
Message - $message
State - $state
Country - $countries";
$mail->send();
echo "
Tell us how we can improve. Give your valuable feedback here!