The Android C2DM push app that I have developed has the reference of my sender is (example: "sender@gmail.com") in the application side code. Case 1: When I install this app on a Android device, the device has a gmail id as "personalid@gmail.com" in Accounts and Sync settings. App is registered successfully with C2DM but it does not receive any of the pushed messages.
Case2: When I use the same sender id ("sender@gmail.com") in the Android device's Accounts and Sync. I receive all the messages that I push.
Why case 1 is failing and case 2 (sender id all through) is successful?