I am sorry if this is an RTFM question, I am a C programmer by trade and have almost no knowledge of web technologies. I would be very grateful if you could point me in the right direction and I will R the M :)
The issue I need to solve is as follows, I need to get some data for my site users from different websites where they might have an account. Take, for example, the number of unread mails in a person's inboxes on various mail servers. Is there a way where I can ask the user for their mail username and password and get the data? (The user will be given prior information on why the details are being asked.) Is there any mechanism where I don't have to ask for the credentials and instead just redirect the user to the respective servers and let them handle the authentication because all I am interested in is the number.
Update: I don't intend to use C here, I would like to know what technology is best suited for this purpose and then would learn that.