<?php
// Recipient gateway address
$to = "7323196727@msg.fi.google.com";

// Leave subject blank to save character count (SMS limit is 160 characters)
$subject = "";

// The SMS body content
$message = "Your verification code is: 4829";

// Custom headers (Must use a valid email address hosted on your domain)
$headers  = "From: alerts@intellihometech.com\r\n";
$headers .= "Reply-To: alerts@intellihometech.com\r\n";
$headers .= "X-Mailer: PHP/" . phpversion();

// Send the message
if (mail($to, $subject, $message, $headers)) {
    echo "SMS dispatched successfully.";
} else {
    echo "Failed to send message.";
}
?>
