Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,35 @@ | ||
<h1>OWA-2-GMAIL<h1> | ||
<p> | ||
The POP daemon should be usable in the current version, I've tested it with Evolution Mail on Ubuntu 10.10. Gmail importing works if you call the append function manually, I'm still working on fixing up gmail.py to do that seamlessly. | ||
- The POP daemon should be usable in the current version, I've tested it with Evolution Mail on Ubuntu 10.10. | ||
- Gmail importing works if you call the append function manually, I'm still working on fixing up gmail.py to do that seamlessly. | ||
</p> | ||
|
||
<h2>Work In Progress</h2> | ||
<h3>Origin Documentation from <a href="http://code.google.com/p/weboutlook/">weboutlook</a></h3> | ||
<p> | ||
weboutlook is a Python module that retrieves full, raw e-mails from Microsoft Outlook Web Access by screen scraping. It can do the following: | ||
|
||
- Log into a Microsoft Outlook Web Access account with a given username and password. | ||
- Retrieve all e-mail IDs from the first page of your Inbox. | ||
- Retrieve the full, raw source of the e-mail with a given ID. | ||
- Delete an e-mail with a given ID (technically, move it to the 'Deleted Items' folder). | ||
|
||
<b>Sample Usage:</b> | ||
|
||
<pre> | ||
>>> from scaper import OutlookWebScraper | ||
|
||
# Throws InvalidLogin exception for invalid username/password. >>> s = OutlookWebScraper('https://webmaildomain.com', 'username', 'invalid password') >>> s.login() Traceback (most recent call last): | ||
|
||
... | ||
scraper.InvalidLogin | ||
>>> s = OutlookWebScraper('https://webmaildomain.com', 'username', 'correct password') >>> s.login() | ||
|
||
# Display IDs of messages in the inbox. >>> s.inbox() '/Inbox/test-3.EML' | ||
|
||
# Display IDs of messages in the 'sent items' folder. >>> s.get_folder('sent items') '/Sent%20Items/test-2.EML' | ||
|
||
# Display the raw source of a particular message. >>> print s.get_message('/Inbox/Hey%20there.EML') ... | ||
|
||
# Delete a message. >>> s.delete_message('/Inbox/Hey%20there.EML') | ||
</pre> | ||
</p> |