// Change this text to whatever you'd like to send to the customer $message = 'Thank you for requesting search access to Divine Imaging Contract Product files. Just click on the following link and use the below User and Password to log in: Link: https://divineimaging.com/divineproducts User: viewer Password: logmein If you have any issues, please feel free to email us at info@divineimaging.com'; $headers = 'From: info@divineimaging.com' . "\r\n" . 'Reply-To: info@divineimaging.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); return mail($email, $subject, $message, $headers); } if(isset($_REQUEST['email'])) { // addToFile function addTofile($email); // Validates $email is an email address if (filter_var($email, FILTER_VALIDATE_EMAIL) === false) { if($email=="") { $validationText = "Please enter a valid email address"; } else { $validationText = "
". $email . " is not a valid email address"; } $validation = 1; } else { $validation = 0; } // Validate each extension against the given email address if (validateExt($email, $domlist)) { if(sendEmail($email)) { $validation = 1; $success = "Email has been sent"; } else { $success = "Email has not been sent"; } } else { $validation = 1; $validationText .= "
Email address does not have a .mil or .gov extension."; } } if($validation==1) { ?> DIVINE IMAGING, INC.
Divine Imaging

Login to Search Divine Products

" . $success . ""; } else { ?> You must use your .mil or .gov email address only to receive a link to view all Divine Imaging Products. Only .mil and .gov addresses will be accepted.

Enter your .mil or .gov email address here: