No project description provided
Project description
Email Usage
Created by SomeRandom_Boi/Lag
version 2.0 changes:
- added error messages
- simplesend() function
- more bug fix and stuff
- removed the message "email sent"
- can change port and host (has default)
changing port and host can be done by using
port=andhost=param
This package will be updated every month or week as it's not completed yet
Email Usage is currently my first and expirience creating a package on PyPi so expect bugs/glitches on this package
Enough yapping lets go to what this package does
Email Verification: (for version 1.2)
from Email_Usage import email_verification
appname - The huge title of the email or subject (Required)
clientpass - Not to be confused with password you use to login(Required)
clientemail - Email Address used to send email or the "From" (Required)
emailtosend - Where the email will be sent or go to (Required)
text - The text or the contents of emails (Not Required)
The email_verification() function also returns a random code but its not required
usage of email_verification()
from Email_Usage import email_verification
verified = email_verification(appname='module test', clientpass="app password", clientemail="myemail", emailtosend="receiver")
print(verified)
Output:
Email Sent Successfully (outputs are now gone in 2.0)
Email Sent:
Subject: module test
You have requested a verification code for module test.
Your digital verification code is 140385
text can be editied as said above the text param is default to use the pre-made text
simplesend: (version 2.0)
from Email_Usage import simplesend
clientemail - email used to send (required) clientpass - app password (required) emailtosend - destination of mail (required) text - text to send or plain text (required)
usage of simplesend()
from Email_Usage import simplesend
simplesend(clientemail="myemail", clientpass="app pass", emailtosend="receiver", text="Subject: hello, ")
Email Sent
(no subject)
hello
you can use MIMEmultipart to add subject and others
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
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 email_usage-2.1.tar.gz.
File metadata
- Download URL: email_usage-2.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b7783174290fe821b1e5b83124c85e98959e0184c7b16940d40764b569cab8c
|
|
| MD5 |
5e0a904cbe3705459c199d01b76886d7
|
|
| BLAKE2b-256 |
26571b3ceb844bff6f8f4fe22c363f04f8fab60aa979cddbdea65ff2a0f896ec
|
File details
Details for the file Email_Usage-2.1-py3-none-any.whl.
File metadata
- Download URL: Email_Usage-2.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
034e64a87ea8032c4826ad6cfcd55512d27cf36fd6803b69737d16d5d5c05cb7
|
|
| MD5 |
e9773d039e55b233b1a192ab4b4f8054
|
|
| BLAKE2b-256 |
55cf7e9062ca26b483b5fd4bfc9f7e9961046600a27899585b9decc9cc219abe
|