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.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: picbed-smtp-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 899398be6087ce8c4e6c5cdb6994c2ded4f682c0c4e85a763e3c923e78390c8a
MD5 55250493a2cdff64669cf975a3f15669
BLAKE2b-256 065adf99ba8036cdb0614f067883556a2e4b1115a8ea40a3af7d1ce280c2faf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: picbed_smtp-0.1.1-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.1-py2-none-any.whl
Algorithm Hash digest
SHA256 fdedf6d06ade871c7b7352e6fbb3bd0794073d799214f746589f13403a5949a6
MD5 cdcfd84bc5ca2361322aa66e7a08e49d
BLAKE2b-256 d087d3b13e0ce75b5d2f2c1c31805f6075d9a3f2b234d0c2189ffdd324ff33b9

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