Ready to go implementation for sending emails with python, a simple wrapper for stmp
Project description
Ezwmails, easy solution with stmp and tls
Ready to go implementation for sending emails with python, a simple wrapper for stmp
Install
pip install ezwmails
Examples
from ezwmails import *
import os
from dotenv import load_dotenv
user="your_mail_address"
password="ypur_mail_password"
create_env_file(user,password)
load_dotenv()
subject = " Nice subject"
body = "a great body this can have html"
server = "mail service, gmail, outlook, etc"
sender_email = os.getenv("USER")
receiver_email = "receiver_email"
password = os.getenv("PASSWORD")
send_email(subject, body, receiver_email, server, sender_email, password)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ezwmails-1.0.1.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ezwmails-1.0.1.tar.gz.
File metadata
- Download URL: ezwmails-1.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c0ac9400c1829dc25a829b4ec4b910f90399bf7bc0f363517ceae167c8d424c
|
|
| MD5 |
e0d307a6bee9ea144f8cff52d1309635
|
|
| BLAKE2b-256 |
5c5c8d9403f2ea5dcba36a487fea94b3a1c5616b186300deeba6e7e33bf04463
|
File details
Details for the file ezwmails-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ezwmails-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b51da2ff62803eb2727b2cd712d0e09e15197ca65f560da44481ec2c53632e1a
|
|
| MD5 |
2bb0be20e60be905fe82ae2491712d33
|
|
| BLAKE2b-256 |
6f37390a251b8ddbd09c860d511d392d58b2ade3aca906d9d8bdc8e91341b9f5
|