Skip to main content

MyEmail

A simple library to send emails with python

Example

from myemail.myemail import send
import os

sslport = os.getenv("SSLPORT")  # For SSL
password = os.getenv("PASSWORD")
smtpserver = os.getenv("SMTPSERVER")
emailvar = os.getenv("EMAIL")
attachment_path = f"{os.getenv('HOME')}/testfile123.txt"
print(attachment_path)
send(
    msg_content="test",
    from_email=emailvar,
    to_email=emailvar,
    subject="test",
    sslport=sslport,
    password=password,
    attachment_path=attachment_path,
)

Contact

Release files for myemail 0.9.0

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

Source distribution (sdist)

Source distribution for myemail 0.9.0
File Size Uploaded
myemail-0.9.0.tar.gz 2.2 kB Details

Built distribution (wheel)

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

Total release size: 5.1 kB

Release files / myemail-0.9.0.tar.gz

Download URL myemail-0.9.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e351ad3c0128cba0de8f297f111a877bd5645061c227700d213ed64f050a9069
BLAKE2b-256 checksum
How to use checksums
c256fd653c027d3f885fb6ceca20f4d1e8b239c993efa7dafe10b7b7dceee014
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.8 Linux/6.6.15-amd64

Release files / myemail-0.9.0-py3-none-any.whl

Download URL myemail-0.9.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c76fd1bda9d3facdeef66272fea67b761062ef817238484d4489862db13c634f
BLAKE2b-256 checksum
How to use checksums
d903671f25c11d11def26a1a196cd0ca41591277fe0392edf4ae30b42b26b884
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.8 Linux/6.6.15-amd64

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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