Skip to main content

SMTP Mail

Usage

    import smtpmail
    import os

    sender = os.getenv('smpt_sender')
    pswd = os.getenv('smtp_pass')
    host = os.getenv('smtp_host', 'smtp.gmail.com')
    port = os.getenv('smtp_port', 587)
    read_only_settings: smtpmail.Settings = smatpmail.Mail.init(sender, pswd, host, port)
    ###
    smtpmail.Mail.send_mail(to, subject, content, content_type='plain')

Metadata

Release files for smtpmail 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smtpmail 1.0.1
File Size Uploaded Provenance Actions
smtpmail-1.0.1.tar.gz 2.1 kB Without provenance Details for smtpmail-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for smtpmail 1.0.1
File Interpreter ABI Platform Actions
smtpmail-1.0.1-py3-none-any.whl Python 3 none any Details for smtpmail-1.0.1-py3-none-any.whl

Total release size: 4.2 kB

Release files / smtpmail-1.0.1.tar.gz

Download URL smtpmail-1.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cadf11eb1e37cbd063d2873c4f73d0352c0a7bb65a42f464aa3a6fbcac022287
BLAKE2b-256 checksum
How to use checksums
9029af1b9e778c8072a74930126a82d867c22d7e464115f03e9ee2e1b9607c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Release files / smtpmail-1.0.1-py3-none-any.whl

Download URL smtpmail-1.0.1-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
810ccf8bfffece51fdc8c07d9c799a949ca4e5d50eb1e6c18a59a500bf9c303f
BLAKE2b-256 checksum
How to use checksums
47b70a063dd5fc5f3e0dd9a837196ee565a655cb044715b956460a105bba2821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Security for smtpmail 1.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page