Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i logged in normal gmail, after that i have a asp page url in my inbox, when i clik the link just i want to get the gmailid from gmail
Posted
Comments
Abhishek Pant 19-Nov-12 5:01am    
Is it you want to get permisson from gmail that to access the gmail?
daminjohny 19-Nov-12 5:09am    
no abhishek, i need just gmail id from gmail account to my application,please help me

1 solution

If the email is in the Gmail's inbox , containing a link to your aspx page => you have sent that email , So you can customize the url like (www.yourpage.com/landingpage.aspx?mail=EncodedEmail) before sending the email

the EncodedEmailwill be the user's email in encoding format ,
on that aspx page you can get teh query string , decode it , get the emailid , i.e. from which email the link is being clicked.

Or you can use open authentication , it needs the user to allow you to access the email id

Check this Solution

Is it possible to get user email using Google api without requesting access to Contacts
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900