EvilZone
Programming and Scripting => Scripting Languages => : shimomura June 13, 2014, 11:02:59 PM
-
I was hoping to create a script that reads my emails. In order to sign in is there anyway I can write text to the username and password using raw_input variables as the credentials then login? If you guys can point me in the right direction to login I'm pretty sure I could write a decent scraper to retrieve the emails themselves. Thanks in advance. This is the page I'm trying to login to -> http://mail.floralsystems.com
-
Just wondering why not use a
configuration file. Oh, that would be a bad idea since it will expose your credentials. Then just do command line args.
If you store your input in a variable, just pass it to the stream and there goes you creds to the whole world.
-
That's why I said the variable would be a raw_input.
-
Do they have a POP3 or SMTP address you can use? Instead of using the web client, they should have settings you would use in something like outlook or Thunderbird mail clients. Use those settings and have python log into your email and retrieve it that way. It has built-in libs just for that kind of thing, no need to go through their web gui, just use python to log into the mail servers and skip the middle man.