Skip to main content

Usage:

sudo pip install send_email_message
from send_email_message import send_email_message

email_config = dict(
    host='smtp.gmail.com',
    port=587,
    tls=True, // Or ssl=True with another port.
    user='admin@example.com',
    password='password',
    from_name='Example Site',
    # Default: encoding='utf-8'
)

send_email_message(
    to='denisr@denisr.com',
    subject='Example News',
    text='Please see http://example.com/',
    html='<html><body>Please see <a href="http://example.com/">example.com</a></body></html>',
    **email_config
)

Rare usage:

login_plain=True, # Some servers are OK with TLS, but require "LOGIN PLAIN" auth inside encrypted session.
debug=True, # Enables debug output.

Release files for send_email_message 0.1.5

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

Source distribution (sdist)

Source distribution for send_email_message 0.1.5
File Size Uploaded
send_email_message-0.1.5.tar.gz 1.8 kB Details

Release files / send_email_message-0.1.5.tar.gz

Download URL send_email_message-0.1.5.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f4e5890f2a1fcaf53584852528bc38c456bcd370e7077110ec2cf9ea095776b8
BLAKE2b-256 checksum
How to use checksums
bd80185c0c8504408bc407260dcca75c286dd56b07913057abe469f936bc8516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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