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)
| File | Size | Uploaded | |
|---|---|---|---|
| myemail-0.9.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|