I am having problem sending and receiving e-mail after changing the server. I put my website on a windows server 2008 R2. I updated the DNS setting of my domain and it works fine but now I have problems on receiving and sending e-mail to/from e-mail addresses which are all hosted inside same server address. I tried other e-mail addresses and they worked fine.
So what could be the problem here? is it related to my new server or should I dig into the server which hosted the e-mail addresses?
If you updated the MX record, you also need to call your ISP and have them update the PTR record that corresponds to the A record listed in your MX record. Otherwise, most accepting domains will filter you as SPAM.
You might start by going through the logs of the receiving email server to see if any of the email delivery attempts even made it to the server and then working your way back to the actual web script/code that sends the email (assuming that is the problem based on your description).