skillfed

secure-smtplib

Secure SMTP subclasses for Python 2

secure-smtplib v0.1.1 426.3K downloads/30d#6,756 on PyPI1
License unclear UNKNOWN Abandoned released

What it is and what it does

secure-smtplib is a set of SMTP subclasses designed to add certificate validation to Python's standard smtplib, specifically for TLS/SSL connections. It was built to address the need to verify CA certificates when establishing secure SMTP connections.

The package has been unmaintained since 2015-04-07 and targets Python 2. It carries no known security vulnerabilities but offers no active development, documentation, or compatibility assurance for modern Python environments. The license status is unclear, adding legal risk to adoption.

Use it for:

  • Legacy Python 2 systems still requiring secure SMTP with explicit CA certificate validation.
  • Auditing or understanding how to add certificate verification to SMTP connections in older codebases.
  • Historical reference for SMTP security patterns in early Python implementations.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides secure SMTP subclasses with TLS/SSL certificate validation for Python 2, extending the standard smtplib to verify CA certificates.

No. The package is abandoned, targets Python 2, has an unclear license, and no known vulnerabilities. Modern Python's smtplib already provides robust TLS/SSL support. Use the standard library or a maintained alternative instead.

Install

secure-smtplib on PyPI

pip

pip install secure-smtplib

uv

uv add secure-smtplib

poetry

poetry add secure-smtplib

Installing secure-smtplib

Before you install

Package has been abandoned since its only release on 2015-04-07, with no subsequent maintenance over 4147 days. Low install friction but no active support.

License in practice

License is marked UNKNOWN with no SPDX identifier, creating legal uncertainty about usage rights and obligations for anyone incorporating this code.

Quickstart

pip install secure-smtplib
import secure_smtplib
# Use secure_smtplib.SMTP or secure_smtplib.SMTP_SSL with ca_cert parameter

Package targets Python 2; compatibility with modern Python versions is unspecified.

Verify before relying

  • Whether the package actually works with any currently-maintained Python version despite Python 2 targeting.
  • What specific certificate validation improvements it provides over modern smtplib's built-in TLS support.
  • Whether the unclear license permits commercial or derivative use.

Package facts

License UNKNOWN (unclear)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 4,147 days since the last release
Last repo commit
First released
Downloads 426,284/month — #6,756 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: secure_smtplib-0.1.1-py2.py3-none-any.whl

Keywords: smtplib, TLS, SSL, verify, validate, ca_cert, ca

Tags

secure smtp tls sslsmtp certificate validationsmtplib ca cert verifypython smtp ssl tlssecure email smtp pythonsmtp certificate authority checkvalidated smtp connection
legacypython2-onlyabandoned

More Cryptography packages