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如何处理CannotCreateTransactionException   安卓如何通过TensorFlowEnferenceInterface提供布尔占位符。JAVA   java是一个系统。出来默认情况下println线程安全?   java关于同步的重要性   java非法启动表达式/尚未对编码充满信心欢迎帮助   安卓为什么XML和Java中的ImageView测量不同?   Android乘以双精度整数[java]   java如何将下一个数组项设置为变量的新值?   java编译ikvmc pwswiftcoreXXXX。jar作为clr。动态链接库   java测试没有单元测试调用的私有方法   在java中如何划分重复的正则表达式模式?   java活动不刷新onCreate()中的布局   Java用户输入nextLine()不等待输入   oracle11g用java编写ORACLE BLOB文件   mysql如何在Java程序中使用Hibernate?   java ADF从托管bean调用有界taskflow