views:

55

answers:

1

Hi I want to write a program which can save latest 10 mails from my yahoo email account as text files given yahoo username and pwd.

I tried using python ie = Dispatch("InternetExplorer.Application")

I was able to sign-in but could not use ie.document.getElementsByName(" ") ie.document.getElementsById(" ") to read emails

Any suggestion?

Thanks.

A: 

Wouldn't it be easier to do this with POP3/IMAP? Just fetch the last 10 mails and leave the on the server?

This way you are not dependent on the Yahoo website. (if it changes your code will break since its dependent on the UI).

Snake
only yahoo mail plus gives access to pop3/imap.I am using a yahoo mail basic account.