GithubHelp home page GithubHelp logo

emailscheduler's Introduction

EmailScheduler

Python script to automatically send emails at designated intervals.

Install

Install python-crontab:

sudo easy_install python-crontab

or

sudo pip python_crontab

Copy or rename CONFIG.public to CONFIG.private. Modify the fields for your own email account:

* from_email: the email address that sends all of the emails
* username: the username for whatever email server you're using (if you are using a Gmail account, this is the same as from_email)
* password: the password for the email server
* mail_server: the smtp address. If you're using Gmail, you don't have to change this.
* send_times: the times (in hours, military time) that you want emails to be sent. The sample config sends emails at 8:00AM and 8:00PM
* email_schedule: the absolute path to the text file containing your schedule.
* receiver_domain_name: if schedule.txt does not include full email addresses, this will be appended to every receiver in the schedule.
* msg_text: the text of the message to be sent
* msg_subject: subject line for the message

Modify schedule.txt. It expects information in the same format: "mm/dd email"

Once you have updated CONFIG.private and schedule.txt, run install.py. Everything has been copied to /usr/local/bin/send_email. To update the schedule in the future, you should modify /usr/local/bin/send_email/schedule.txt

emailscheduler's People

Stargazers

Banel Mgwevu avatar  avatar Mason Glidden avatar

Watchers

Mason Glidden 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.