2020-04-14 02:26:37 +02:00
|
|
|
<?php
|
2020-05-09 03:38:51 +02:00
|
|
|
$to = "support@qo-op.com"; // Your email address
|
2020-05-13 13:03:56 +02:00
|
|
|
$subject = "Astroport Web Contact";
|
2020-04-14 02:26:37 +02:00
|
|
|
|
|
|
|
if (isset($_REQUEST['phone'])) $phone = $_REQUEST['phone']; else $phone = "";
|
|
|
|
if (isset($_REQUEST['email'])) $email = $_REQUEST['email']; else $email = "";
|
|
|
|
|
|
|
|
$message = "Message de {$phone} / {$email}";
|
|
|
|
|
2020-05-13 20:37:04 +02:00
|
|
|
$headers = "From: support@qo-op.com"; // Who should it come from?
|
2020-04-14 02:26:37 +02:00
|
|
|
if( $phone != "" || $email != "" ) {
|
|
|
|
error_log("SEND EMail ". $email. " ". $phone );
|
|
|
|
mail($to, $subject, $message, $headers);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|