ease_mailer is the easiest way for email sending.
Project description
Ease Mailer
Easy Mailer is a simple python package that allows you to send emails with ease.
Usage
Import the class
from ease_mailer import mailer
For Help Type
mailer.Mail.help() # Shows the help message
Create an instance of the class
mail_class = mailer.Mail("source@email.com", "youremailpassword") # Creates an instance of the class
Login to your email
mail_class.login() # Logs the user in returns True if successful, False otherwise
Send an email
mail_class.send_mail("dest@mail.com", "Subject", "Body") # Sends the email, throws an error if user is not logged in returns True if successful, False otherwise
Show the status of email wether it was sent or not
mail_class.show_status() # Shows the status of the email whether it was sent or not returns "Email sent successfully" if successful, "Email failed to send" otherwise
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
ease_mailer-1.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ease_mailer-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd1444ca88a0c7b1dd7c898e468316fa6699ac3aec198175dd07f56148dfdf0 |
|
MD5 | e33815bbb3c1591a7ed8cdbce7c2e0a0 |
|
BLAKE2b-256 | d66dbdd66af89ba66f1ee21ba167bc4aa4cda14ce4c823f326c9be041c63674b |