Re: Email client in Pyhton



On Wed, 24 Aug 2005 20:15:01 +0530 (IST)
knaren@xxxxxxxxxxxxx wrote:
> now i am planning to write a bear minimum email client in
> pyhton. i found the smtp module of python could serve my
> pupose. I can send message using mails using the smtp lib.
> Now i'm looking for some modules which can help me in
> fetching the mails from the mailserver and managing folders.

Check out the POP and IMAP modules (poplib and imaplib), the email
package, and the mailbox and mhlib modules (all in the standard
library). I seem to recall seeing a maildir module somewhere, but can't
find it now. IIRC, many of the mailbox modules (such as mailbox and
mhlib) are read-only, but they should provide a good starting point.

> I also look for some existing mail client, written in python
> which wud serve my cause.

Mahogany Mail isn't written in Python, but it uses wxWidgets and has an
embedded Python interpreter.

A quick Google for "python email client" (sans quotes) revealed the
following useful links:

http://sourceforge.net/projects/usablemail/
http://mail.python.org/pipermail/python-list/2003-August/177139.html

-Michael
.



Relevant Pages

  • Re: Python MAPI
    ... Python such that when I open Microsoft Word (or another Office ... \Mail which seems to control the default email client. ... can use some of them to "spy" on what an app is doing - what registry ...
    (comp.lang.python)
  • Re: Python 3.0
    ... Is Python 3.0 that kind of program? ... searching PACKAGENAMEHERE at http://google.com ... really should just do a search for "email client" on Google. ... Terry Hancock ...
    (comp.lang.python)
  • Re: Python MAPI
    ... Python such that when I open Microsoft Word (or another Office ... \Mail which seems to control the default email client. ... Try looking for registry entries specific to Office Apps, ...
    (comp.lang.python)
  • Python MAPI
    ... Python such that when I open Microsoft Word (or another Office ... \Mail which seems to control the default email client. ... in Office Apps in question, but would prefer to avoid that. ...
    (comp.lang.python)
  • Re: Email client in Pyhton
    ... Mark Lutz in Programming Python, 2nd ed from O'Reilly covers the subject in chapter 11 using only the standards modules for mails and Tkinter. ... i found the smtp module of python could serve my ... I also look for some existing mail client, written in python which wud serve my cause. ...
    (comp.lang.python)