vikashvjain;10974436 wrote:My contact form show that the mail has been sent on the page but i am not receiving any mails on my inbox.
Are you sure about this? I see nothing to indicate that you're testing the value returned from [man]mail/man:
// this could fail and PHP wouldn't know, nor care:
mail("me@mydomain.com","Hurrah!",$msg);
// this is the way you test
$mailed=mail("me@mydomain.com","Hurrah!",$msg);
if (!$mailed) {
print("Couldn't send the mail!");
} else {
echo "Mail has been sent successfully!";
}
As for help with SPF, that might be taken care of better elsewhere. I've got it set up, I think, but I did that long ago via a tutorial and haven't done a thing with it since.
Have you checked your SPAM folder @ gmail?