mailbot:在接收邮件时执行回调

mailbot的Python项目详细描述


Build Status

mailbot:注册要在邮件接收时执行的回调。

黑客攻击

设置您的环境:

git clone https://github.com/magopian/mailbot.git
cd mailbot

使用Tox进行破解并运行测试 在所有受支持的python版本上:

make test

还有一个实时测试套件,您可以使用以下命令运行:

make livetest

请注意,要运行实时测试,您需要创建 livetest_settings.py包含以下内容的文件:

# 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

为了方便起见,您可以复制提供的示例,并对其进行修改:

$ cp livetest_settings.py.sample livetest_settings.py

更改日志

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java是安卓的子类。所容纳之物ClipData或ClipData。项目   毕加索中的java错误get()无法应用于(安卓.content.Context)   管道接受来自控制台和管道文本文件的Java输入   Java Windows文件权限   java如何在Selenium中找到此按钮?我尝试了partiallinktext并多次尝试cssSelector   java如何在spring jdbc模板中生成流式sql?   方法中的java全局值变为null   java设备“Mobile Intel(R)4 Series Express芯片组系列”(\\.\DISPLAY1)初始化失败:   java查找单独文件夹中的资源到类文件   java iCal4j添加会议说明   java如何处理InvalidTokenException?   oop如果Java不支持运算符重载,增量运算符如何在整数实例上工作?   java如何在Hibernate中获取<map>