Hi All, I had setup my corporate mail account in Samsung S3 with a user certificate (certificate.pfx). My accounts got synced. My question is, I need to programattically fetch the Mail ID which is setup in my device. I did the following steps to get this done, android.accounts.Account[] accounts = AccountManager.* get(context).getAccounts();*
*This array will hold all the accounts that is configured in my device. I ll filter this array to get my corporate mail ID, bcoz i know it.* *But my problem is , While i setup my mail account, the default Email client (Native Email app) accepts different Email Id and password also for my certificate i.e I could setup my email account with the name [email protected] and "password" with my certificate.pfx file.* ** *Now if i run the above code its giving the cofigured email id as [email protected] but if i send any mail from this ID to someone , there in the receiver end its showing ,the mail had come from my original ID* *I need to get my original email ID for which the certificate.pfx is generated programattically * -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/android-security-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
