Skip to main content

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


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)

Uploaded Source

Built Distribution

ease_mailer-1.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page