Skip to content

SmitProgrammer/EaseMailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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("[email protected]", "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("[email protected]", "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
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages