Hello
I'm hosting a domain, let's say "foo.com".
I have a contact form which sends a plain text email via PHP:
$response = mail("[email protected]", "Contact from website", $email);
the response I get is always TRUE, but the email never reaches "[email protected]". things I've tried:
It seems like there's a problem sending to my own domain via code.
What gives?
Thanks,
Evyatar.
I'm hosting a domain, let's say "foo.com".
I have a contact form which sends a plain text email via PHP:
$response = mail("[email protected]", "Contact from website", $email);
the response I get is always TRUE, but the email never reaches "[email protected]". things I've tried:
- Sending an email from my gmail account to "[email protected]"- the email is received correctly.
- Send an HTML email- still not getting it.
- Send the email from the PHP file to my personal gmail account- the mail is received correctly.
- Send the email from the PHp file to a different @foo.com email- email still not received.
It seems like there's a problem sending to my own domain via code.
What gives?
Thanks,
Evyatar.