Flask-Email-Simplified
Flask-Email-Simplified is a Flask/Quart extension that provides email sending capability using the Email-Simplified library.
Email-Simplified provides a much simpler interface for creating and sending
email messages compared to Python's email and smtplib modules. It also
defines an interface for using other email sending providers that offer an API
other than SMTP.
Install
Install from PyPI:
$ pip install flask-email-simplified
Example
from email_simplified import Message
from flask import Flask
from flask_email_simplified import EmailExtension
app = Flask(__name__)
app.config["EMAIL_HOST"] = "localhost"
app.config["EMAIL_PORT"] = 25
email = EmailExtension(app)
@app.get("/send")
def hello():
message = Message(
subject="Hello",
text="Hello, World!",
to=["world@example.test"],
)
email.send(message)
return "Hello, World!"
Release files for flask-email-simplified 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_email_simplified-0.2.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_email_simplified-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / flask_email_simplified-0.2.0.tar.gz
| Download URL | flask_email_simplified-0.2.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3258adb4d5253c3c594526c5f1a17ce38a45a966f0fcf853b4b7ae95a902eeac
|
|
BLAKE2b-256 checksum How to use checksums |
674947d33060d4c60cc0a390ae994734cf872f3331a1d679305e136da91110e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.
Transparency logRelease files / flask_email_simplified-0.2.0-py3-none-any.whl
| Download URL | flask_email_simplified-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f46b102fbc8922095191e49c2f94525a74e8bb7de5f35f3bc653ad7a26d02615
|
|
BLAKE2b-256 checksum How to use checksums |
693de594829b80d04fdde0e37da4ab0c3644c3e589b8ddb32ef717af4d8eab1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.
Transparency log