邮戳入站的python包装

python-postmark-inbound的Python项目详细描述


邮戳入境钩[![构建状态](https://travis-ci.org/jpadilla/postmark-inbound-python.png?branch=master)(https://travis ci.org/jpadilla/postmark inbound python)
=======


这是一个简单的api包装器,用于[邮戳入站挂钩](http://developer.postmarkapp.com/developer inbound.html)
在python中受[jjaffeux]启发(https://github.com/jjaffeux/postmark inbound php)。

github:

```
git clone git@github.com:jpadillla/postmark inbound python.git
```



使用pip:pip:

``````
pip安装python postmark inbound



```````
````

```


```````



``````````>

使用

-

`` python
从邮戳输入邮戳入站


#内容
inbound.subject()
inbound.sender()
inbound.to()
inbound.bcc()
inbound.tag()
inbound.message_id()
inbound.mailbox_hash()
inbound.reply_to()
inbound.html_body()
inbound.text_body()
inbound.send_date

日期
inbound.headers('mime-version')
inbound.headers('received-spf')

=入站.attachments()

first_attachment=attachments[0]
first_attachment.name()

second_attachment.content_length()

a in attachments:
a.name()
a.content_type()
a.content_length()
a.download('./tests/',['image/png'],“10000”)

请在github上创建一个问题!










*fork
*写测试
*写代码
*拉请求




>谢谢您的帮助。

























+http://github.com/jpadilla

https://github.com/r38y/postmark mitt
+php:https://github.com/jjaffeux/postmark inbound php
+node.js+couchdb:https://gist.github.com/1647808

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

推荐PyPI第三方库


热门话题
java组在不同线程中记录消息   java Wicket挂载404错误页   Java:如何制作对象数组的副本?   类似Windows中的java日期时间选择器   java无法获取JTextField用户输入以搜索文本文件   安卓 Java:如何随机更改背景和字体颜色   Java定时器中的摆动变化延迟   java让Selenium暂停X秒   将响应传递到视图时发生java Nativescript错误   java刷新安卓列表视图的最佳方式是什么?   单java进程的多线程队列/工作线程体系结构   web服务Java NoSuchMethodException   java groupingBy和filter一步到位   java游标。getCount()给定错误   即使引用的文件位于项目根目录中,java PrintWrite仍会持续引发“未找到文件”异常