Giter VIP home page Giter VIP logo

pylio-mailer's Introduction

Pylio

Send email messages through a specified Gmail account.

Getting Started

  1. Download Pylio and its dependancies pip install pylio

  2. Turn on Gmail API by clicking Enable Gmail API on Gmail

    1. Select + Create a new project.
    2. Download the credentials file to access your Gmail account.
    3. Move the downloaded file to your working directory and ensure it is named credentials.json.
      You can also specify the location of credentials.json either in config.yaml or using the --cred-file flag.
  3. From command line: use pylio with the below arguments. Default arguments will come from the config.yaml unless otherwise stated.

    Command line override arguments:
    --to email_address email address of intented recepient
    --message msg_body text body of email
    --config-file path (optional) path to custom configuration file; default is config.yaml
    --cred-file path (optional) path to Google Gmail credentials JSON file
    --subject subject_line (optional) subject line of email

Contents

config.yaml Default configuration file to specify to, message, and Google credentials file
PylioMail.py Class using Google API
setup.py pip file

How does it work?

This repository is a wrapper that simplifies the use of the Google Gmail API.

Troubleshooting

pylio-mailer's People

Contributors

xcollantes 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.