|Hi, check with your website hosting provider. Is the email on your PHP form on the same domain as your website? Some will put restrictions on the PHP email form if the email is not in the same domain as your hosting provider. Also check to see if your domain/IP address is flagged as a spammer. If you are on a shared hosting server, it could be someone else on the server that has been flagged as a spammer that is causing the issue. Regardless, do give your website hosting provider a call to eliminate the possibility that your domain is listed as a spam domain or is on a shared server with a domain that has been flagged for spam. |
Now, when you have eliminated that variable, you'll want to check the php code itself. Make sure that it is not generating insertions of website links. Also make sure that you have put in PHP form validators to reduce the chances of your form being hacked. For example, make sure that your PHP code validates each data field on your form (valid email address format, phone format, etc.). As example, you may want to thwart hackers by eliminated stripslashes. You might also consider adding question fields or image questions like CAPTCHA for another layer of security validation. Make sure that you do not have your email address visible anywhere else on your site as spambots know to seek out 'mailto' for email addresses.