邮戳入站的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
=======
这是一个简单的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()
a in attachments:
a.name()
a.content_type()
a.content_length()
a.download('./tests/',['image/png'],“10000”)
请在github上创建一个问题!
*fork
*写测试
*写代码
*拉请求
>谢谢您的帮助。
https://github.com/r38y/postmark mitt
+php:https://github.com/jjaffeux/postmark inbound php
+node.js+couchdb:https://gist.github.com/1647808