Skip to content

shivamsoftwareartist/send_email_from_terminal-command_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

send_email_from_terminal-command_line

This repository contains scrpit for sending the emails directly from the terminal/command-line.

You need few things to run the script

  1. Python3 or above in your system
  2. Stable internet connection.
  3. Firefox browser
  4. Geckodriver

Selenium is a differntly design module and you need a geckodriver to operate firefox browser.

There are lot of third party modules that are used in the script and it is suggested to run the script in virtual env.

NOTE: I used yahoo.com to send emails in this script It may not work for other mailing platforms like gmail.

The two scripts are uploaded:

  1. login.py ( https://github.com/bansalshivam/send_email_from_terminal-command_line/blob/master/login.py )

  2. emails.py( https://github.com/bansalshivam/send_email_from_terminal-command_line/blob/master/emails.py )

The first script login.py can only be used to login into yahoo account

The second script emails.py is the main code to send emails.

Also checkout my blog on Webscraping and give claps if you like it. https://medium.com/@shivambansal157/web-scraping-17b6891f9da4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages