Attached are the python scripts I run to poke the mail/news backend.
I've also attached some documents I'm writing for this project - all are
very much work in progress. Some are Moz Mail architecture documents
intended to be useful to embedders and some describe what I've been
doing so others can pick up on it.
Here's what I did:
1. Wrote attached documents.
2. Downloaded python source and built a debug build.
3. Pulled and built Mozilla tree with PyConnect extension turned on
(this was not a pretty process)
4. Wrote python code to load an existing Mailnews prefs.js file, get new
mail on a pop3 account, update an imap folder, and fetch an imap
message, which is streamed to a stream listener written in python and
dumped to the console. I had to make two changes to the moz mail
backend, one which is checked in, and one which I intend to check in.
The latter has to do with retrieving a stored password.
5. Started working on reducing the dlls loaded when running the attached
python program (acctmgr.py). dllsloaded.txt contains the current list.
It seems a bit scary at first glance, but I've cut down the list quite a
bit, and now it doesn't contain gklayout.dll! I'll work on seeing if I
can get rid of js3250.dll, gkgfx.dll, jar50.dll, etc. Some of the dlls
are loaded because I'm using SSL as well.
- David