Contact – test php

 

[insert_php]
if (isset($_REQUEST[‘email’]))
//if “email” is filled out, send email
{
//send email
$email = $_REQUEST[‘email’] ;
$subject = $_REQUEST[‘subject’] ;
$kenmerk = $_REQUEST[‘kenmerk’] ;
$message = $_REQUEST[‘message’] ;
$result1 = mail(“adriaan@appfixers.nl”, $kenmerk.”, sender is “.$email, “ONDERWERP: “.$subject.” >> BERICHT: “.$message, “From:” . $email);
$result2 = mail($email, “You have sent appfixers this message: “.$subject, $message, “From:” . $email);
// echo “Dank voor uw bericht. Result1 is $result1, result 2 is $result2”;
echo “Dank voor uw bericht.” ;
}

else

//if “email” is not filled out, display the form
mail(“adriaan@appfixers.nl”, $kenmerk.”, sender is “.$email, “TEST: “.$subject.” >> TEST: “.$message, “From:” . $email);

{
# echo ”

# Email:

# Subject:

# Message:

#

#
#

“;

[/insert_php]

Naam(verplicht)
Email(verplicht)

Onderwerp

Bericht:


[insert_php]
}
[/insert_php]