Metadata-Version: 2.4
Name: mkplus
Version: 1.0.0
Summary: Python library to send emails, HTML emails, and generate OTPs
Author-email: Mohamed Khaled <mk.programmed@gmail.com>
License-Expression: MIT
Keywords: email,otp,messaging
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: license.txt
Dynamic: license-file

# mkplus

Python library to send:
- Plain text emails
- HTML emails (Gmail)

## Installation
```bash
pip install mkplus
```
## Usage

```python

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)

