How can I log into gmail in a script/program using HTTPS?

Posted by master chief on Stack Overflow See other posts from Stack Overflow or by master chief
Published on 2010-05-19T01:15:14Z Indexed on 2010/05/19 1:20 UTC
Read the original article Hit count: 215

Filed under:
|
|

My teacher has given me as an assignment to log into gmail and then send one e-mail or read the list of unread e-mails, but I can't use IMAP/POP3/SMTP or anything that isn't HTTP or HTTPS. I've tried looking for libraries in Ruby/Java to do it but nothing really worked for me.

I tried looking at the gmail source code page but I couldn't really understand what was going on. The page seems to call a post method on a link, but sniffing the packets what I saw was a GET apparently using a session generated using the info I send. So sending it "raw" didn't work either.

I've no idea what to do now.

© Stack Overflow or respective owner

Related posts about gmail

Related posts about https