Skip to main content

Send email with third smtp server

Project description

这是基于 picbed 的一个小的模块,用以扩展邮件发送服务。

安装

  • 正式版本

    $ pip install -U picbed-smtp

  • 开发版本

    $ pip install -U git+https://github.com/staugur/picbed-smtp.git@master

开始使用

此扩展请在部署 picbed 图床后使用,需要 其管理员进行添加扩展、设置钩子等操作。

添加:

请在 站点管理-钩子扩展 中添加第三方钩子,输入模块名称:picbed_smtp, 确认后提交即可加载这个模块(请先手动或在线安装好此模块)。

配置:

站点管理-网站设置 底部邮件服务设置中配置邮箱相关信息。

使用:

发送邮件时,程序会调用邮件发送功能,目前有一内置钩子sendmail实现了功能。

如启用此picbed-smtp钩子扩展,那么,程序在发送时会按序调用(不一定谁优先), 某个发送失败才会进入下一个,任一发送成功则停止,全部发送失败则本次邮件发送 宣告失败。

所以,如果不想用内置邮件发送钩子,可以在 站点管理-钩子扩展 中禁用内置 的sendmail,仅启用本扩展。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

picbed-smtp-0.1.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

picbed_smtp-0.1.3-py2-none-any.whl (4.6 kB view details)

Uploaded Python 2

File details

Details for the file picbed-smtp-0.1.3.tar.gz.

File metadata

  • Download URL: picbed-smtp-0.1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.22.0 setuptools/44.1.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

File hashes

Hashes for picbed-smtp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d53995a2bbaeb90eee7fbbe91084799011d24e3781deaafb202ad5287df2fb60
MD5 e34f83517251bc71cab175d07b19779d
BLAKE2b-256 bf05f632010765b04a4b21435362293046c40380c2edbdab85f299abd491ba70

See more details on using hashes here.

File details

Details for the file picbed_smtp-0.1.3-py2-none-any.whl.

File metadata

  • Download URL: picbed_smtp-0.1.3-py2-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.22.0 setuptools/44.1.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

File hashes

Hashes for picbed_smtp-0.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 237f4d84c7bda56019619201fe418a534e4a6b044e05b69290220c8490d4bb26
MD5 cb47ce3a1192d3b3b903f33cc8cbc64e
BLAKE2b-256 7f7a29a63b4337de65f89a94f5fdadc690aa0853710129a7c358adb94c4a1a6e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page