Hi guys I run my website and it all work except contact us form. HTML
<div class="border"></div>
             <form class="contact-form" action="mail.php" method="post">
              <div class="fisrtthree">
              
              <input type="text" name="fname" class="contact-form-text" placeholder="First name" required>
              </div>
              <div class="fisrtthree">
              
              <input type="text" name="lname" class="contact-form-text" placeholder="Last name" required>
              </div>
              <div class="fisrtthree">
              
              <input type="email" name="email" class="contact-form-text" placeholder="Email" required>
              </div>
              <div>
              
              <textarea class="contact-form-text" name="message" rows="6" maxlength="3000" placeholder="Your message" required></textarea>
              </div>
              <div>
              <button type="submit" id="fcf-button" class="contact-form-btn">Send</button>
              <div>
             </form>
PHP
<?php
 if(isset($_POST['message']) == false) {     //  If there's no message
    echo "Uh oh. Looks like you didn't actually include a message, friend.<br><br>";
    die();   
}
$destination = "#@gmail.com";       //  Put your email address here
$subject = "Message from your website!";   //  Fill in the subject line you want your messages to have
$fromAddress = "#@domain.com";   //  Fill in the email address that you want the messages to appear to be from
                                                                //  Use a real address to reduce the odds of getting spam-filtered.
$fname = $_POST['fname'];
$lname = $_POST['lname'];
$email = $_POST['email'];
$message = str_replace("\n.", "\n..", $_POST['message']);   //  Prevents a new line starting with a period from being omitted
$message = "First Name: ". $fname ."\n Last Name: ". $lname ."\n Email: ". $email ."\n Message: ".$message."\n";
$headers   = array();
$headers[] = "MIME-Version: 1.0";
$headers[] = "Content-type: text/plain; charset=iso-8859-1";
$headers[] = "From: " . $fromAddress;
$headers[] = "Subject: " . $subject;
$headers[] = "X-Mailer: PHP/".phpversion();
mail($destination, $subject, $message, implode("\r\n", $headers));
Thanks for your message:
   echo $message; ?>
 
   
   Go back home
?>
As you see I tried to get message from #@domain.com and received it in mygmail@gmail.com. but it didn't work, I received nothing in my inbox. is there anything to do with my gmail and my hosted email.
 
     
    