``I have a wordpress installed on my Server, everything works fine, I tried to add a contact form on the template using the PHP mail() function, 
It works well on a remote hosting server, but when i tried to transfer the same code that successfully worked on a hosting server to my work's local server, It doesn't send any email.
What could be wrong with the server? my code to process form is: