MailBot: execute callback on mail reception
Project description
MailBot: register callbacks to be executed on mail reception.
Authors: Mathieu Agopian and contributors
Licence: BSD
Compatibility: Python 2.7 and Python 3.3
Project URL: https://github.com/magopian/mailbot
Documentation: http://mailbot.rtfd.org/
Hacking
Setup your environment:
git clone https://github.com/magopian/mailbot.git cd mailbot
Hack and run the tests using Tox to test on all the supported python versions:
make test
There’s also a live test suite, that you may run using the following command:
make livetest
Please note that to run live tests, you need to create a livetest_settings.py file with the following content:
# mandatory HOST = 'your host here' USERNAME = 'your username here' PASSWORD = 'your password here' # optional # check http://imapclient.readthedocs.org/en/latest/#imapclient.IMAPClient) PORT = 143 # port number, usually 143 or 993 if ssl is enabled USE_UID = True SSL = False STREAM = False
For convenience, you can copy the provided sample, and modify it:
$ cp livetest_settings.py.sample livetest_settings.py
Changelog
0.3 (2013-03-28)
compatible python 3.3
0.2 (2013-03-28)
automatically decode headers, allowing for unicode subjects, senders, recipients, CCs and body
new timeout parameter: mails in the processing state for longer than this timeout will be reprocessed
use SEEN and FLAGGED to manage mail states (not processed, processing, processed)
captures from the rules’ regexps available in Callback.matches (previously, this was storing MatchObjects)
0.1 (2013-03-20)
first version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mailbot-0.3.tar.gz
.
File metadata
- Download URL: mailbot-0.3.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fae77bc90df3cf393359f2f5506491782c7ff1683fc701edcd9b9f435a0b4fd |
|
MD5 | 5f078d6d2f66aef06d12f386659aa219 |
|
BLAKE2b-256 | 332ae41a7f77a4b4a27fdaa5293a81bc7817d5d8508588e90ef8c8511dc23e02 |
File details
Details for the file mailbot-0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: mailbot-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dc1da012e322697b5a0964929dcfe3efbd9ade4d591c235449d6a553c1f6aea |
|
MD5 | 28235d1ac6f73308705870c68c3849b7 |
|
BLAKE2b-256 | 3b62e06c96d7026903e0bdb1a1187efaea68486a6ab4a11aa2d8b91ef30943ed |