Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3280 > unrolled thread
| Started by | marceepoo <marc@marchankin.com> |
|---|---|
| First post | 2011-04-15 15:08 -0700 |
| Last post | 2011-04-16 11:11 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
Can Python control Thuderbird? marceepoo <marc@marchankin.com> - 2011-04-15 15:08 -0700
Re: Can Python control Thuderbird? Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-04-16 11:11 +0200
| From | marceepoo <marc@marchankin.com> |
|---|---|
| Date | 2011-04-15 15:08 -0700 |
| Subject | Can Python control Thuderbird? |
| Message-ID | <e0e8dfee-0d13-4934-816e-7906acb6168a@glegroupsg2000goo.googlegroups.com> |
I want to control Mozilla Thunderbird using Python.
Does anyone know if that is that possible?
I would like to use Python to save email attachments to a specific
directory, depending on the name of the sender, content in the email,
etc.--- and to rename the attachment file -- and to save the email to
an html file -- and to insert into the email file links to the locally
saved copies of the attachments. Is this possible?
If the answer is yes, where could I find information about how to use Python to control Thuderbird (and/or examples of saving attachments to locval filenames,and/or saving emails to htmlfiles and/or connecting to the list of
contacts) ?
While hunting around, I came across "Python 18.4. mailbox — Manipulate mailboxes in various formats — Python v2.7.1 documentation". I'm so totally ignorant of MAPI that I don't know if that is what I'm looking for. If it is, does anyone know where I could find some examples of python scripts using the "Python 18.4. mailbox module"?
Thanks,
Marceepoo
Thanks for your tme and the knowledge you share,
Marc
[toc] | [next] | [standalone]
| From | Andrea Crotti <andrea.crotti.0@gmail.com> |
|---|---|
| Date | 2011-04-16 11:11 +0200 |
| Message-ID | <mailman.417.1302945088.9059.python-list@python.org> |
| In reply to | #3280 |
marceepoo <marc@marchankin.com> writes: > I want to control Mozilla Thunderbird using Python. > Does anyone know if that is that possible? > I would like to use Python to save email attachments to a specific > directory, depending on the name of the sender, content in the email, > etc.--- and to rename the attachment file -- and to save the email to > an html file -- and to insert into the email file links to the locally > saved copies of the attachments. Is this possible? > If the answer is yes, where could I find information about how to use Python to control Thuderbird (and/or examples of saving attachments to locval filenames,and/or saving emails to htmlfiles and/or connecting to the list of > contacts) ? > While hunting around, I came across "Python 18.4. mailbox — Manipulate mailboxes in various formats — Python v2.7.1 documentation". I'm so totally ignorant of MAPI that I don't know if that is what I'm looking for. If it is, does anyone know where I could find some examples of python scripts using the "Python 18.4. mailbox module"? > > Thanks, > > Marceepoo > > > Thanks for your tme and the knowledge you share, > > Marc In general I think it would be easier to work directly from the mailbox, yes, or even the imap folders if you're using imap, but in this case thunderbird is not part of the equation... If you want to use thunderbird then I think there are easier solutions with the internal scripting language (XUL or however it was called...)
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web