Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Contact subject
- $subject ="$subject";
- // Details
- $message="$detail";
- // Mail of sender
- $mail_from="$customer_mail";
- // From
- $header="from: $name <$mail_from>";
- // Enter your email address
- $to ="$til";
- $send_contact=mail($to,$subject,$message,$header);
- // Check, if message sent to your email
- // display message "We've recived your information"
- if($send_contact){
- echo "Tak for din mail. Vi bestræber at besvare den indenfor 24 timer.";
- }
- else {
- echo "Der er opstået en fejl.";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement