Treehouse: Grow your CSS skills. Land your dream job.

mail function gives me 500 Internal Server Error

  • # April 19, 2012 at 9:49 am

    Hi guys.

    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?

    # April 19, 2012 at 10:30 am

    Hi Xavjr, you might need to contact your hosting provider for this one

    Could you post up our code and we can take a look

    # April 23, 2012 at 1:41 pm

    Hi, thanks for your answer. It was some hosting configuration problem, they solve it.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.