I rooted my phone. Now apps cannot connect to the internet but browsers work fine I have a Samsung Galaxy Y and rooted it a few days ago. After that I set up a few apps and granted them access to root permissions (via the Superuser app). I allowed root to all apps that requested it.

Now I cannot connect to the internet via any app except browser apps - Gmail cannot receive emails, and Google Play is not loading.

I tried a factory reset and unrooted the phone, but it is still not working.  

How can I fix this issue?
Is background data enabled?

You can enable it in Settings-&gt;Accounts and Sync-&gt;Background Data or System Settings-&gt;Data Use-&gt;Menu Button-&gt;Auto-sync data checked.