I have this simple contact form that sends an email and it works 100% with any email with domain different from where the website is hosted. However, when I try to send the email to any other with the same domain of my website it gives me the 500 Internal Server Error.
I'm sure that the mail() function is the one who provokes this error, when I delete that line the error disappears.
I have this simple contact form that sends an email and it works 100% with any email with domain different from where the website is hosted.
However, when I try to send the email to any other with the same domain of my website it gives me the 500 Internal Server Error.
I'm sure that the mail() function is the one who provokes this error, when I delete that line the error disappears.
Any idea what's happening? Any solutions?
Could you post up our code and we can take a look