Python的SMTP服务器 inbox.py

码农软件 · 软件分类 · 网络工具包 · 2019-02-28 17:11:22

软件介绍

inbox.py 是一个最简单的 Python 实现的 SMTP 服务器,异步的。因为有了 Gevent 的支持,单实例每秒钟可处理一千封邮件的发送。

示例代码:

from inbox import Inbox

inbox = Inbox()

@inbox.collate
def handle(to, sender, body):
    ...

# Bind directly.
inbox.serve(address='0.0.0.0', port=4467)

本文地址:https://www.codercto.com/soft/d/333.html

Head Rush Ajax

Head Rush Ajax

Brett McLaughlin、Eric Freeman、Elisabeth Freeman / O'Reilly Media, Inc. / 2006-03-01 / USD 34.99

Ajax, or Asynchronous JavaScript and XML, is a term describing the latest rage in web development. Ajax is used to create interactive web applications with XML-based web services, and using JavaScript......一起来看看 《Head Rush Ajax》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具