Python library to send emails, HTML emails, and generate OTPs
Project description
mkplus
Python library to send:
- Plain text emails
- HTML emails (Gmail)
Installation
pip install mkplus
Usage
import mkplus
# لتنزيل الحزمة cmd اكتب هذا الامر في
# pip install mkplus
mkplus.Send_mail(
"email_sender",
"app_password",
"your_name",
"subject",
"body",
"email_receiver"
)
print ("Successfully send")
# Send an HTML email
html_code = ("""
<h1>Hello, this message was sent using mkplus</h1>
<p>Python</p>
""")
mkplus.Send_html_mail.api("YOUR_API_KEY")
mkplus.Send_html_mail(
"email_sender",
"app_password",
"your_name",
"subject",
html_code,
"email_receiver"
)
print ("Successfully send")
# Generate OTP Code
otp_code = mkplus.Generate_otp(6)
print(otp_code)
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
mkplus-1.0.0.tar.gz
(3.0 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 mkplus-1.0.0.tar.gz.
File metadata
- Download URL: mkplus-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
667333dbabbe2381e22c26f2ff88f61478684eeec12e1256f056293a420ee921
|
|
| MD5 |
7dbcfa07551c42a75e187cf2c1f433cc
|
|
| BLAKE2b-256 |
fe828e7c82b798b11fcb50503cc267f56af5f8cd6046b15a3c8f3766eb371e5e
|
File details
Details for the file mkplus-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mkplus-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78dc5e9b235d1aec8c1c8af210e04ae94c37b4aadb309f13b6b845cb796c1fb3
|
|
| MD5 |
5a8c8d99d50bee71df991b9339fcfe93
|
|
| BLAKE2b-256 |
96461fe8fe364a92c3ae77f957e678e0a004338e67b439105ccc0ee0862912a2
|