Giter Club home page Giter Club logo

mailtoall's Introduction

mailtoall

This is a python program to send emails to multiple users at once. This program will take all the emails from a csv file and send a custom designed email to them.

Lets set up your gmail account

  • first go to your google account > Security > 2-Step verification and turn it on.
  • now in the Security main page you will be able to see App password.
  • now click App password > Enter your gmail password.
  • Now select the app and select the device and click generate.
  • Now copy that 16 digit code and keep it with yourself.

Some prerequisite

  • you need to have python in your machine.
  • you need to run the following command.
    for windows : pip install -r requirements.txt
    for macOS : pip3 install -r requirements.txt

How to send emails

  • first cd into py_module folder the run the follwing command.
  • for macOS or Linux run cp sample_config.py config.py
  • for windows run copy sample_config.py config.py
  • edit the config.py file with your required data.
  • edit the index.html with your required mailing data.
  • python mail_to_all.py

Tracebacks

if you get an error someting like 535, b'5.7.8 Username and Password not accepted. or a bytes-like object is required, not 'str' just update your creadentials in the config.py

Note

Don't make any changes or add any personal information to sample_config.py. If you want to add any information to run the program edit your config.py file. ๐Ÿ‘

HAPPY CODING

mailtoall's People

Contributors

dolendeori avatar swatv3nub avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.