Code Monkey home page Code Monkey logo

autoemailreminder's Introduction

Automatic email reminder using Python and Windows Task Scheduler!

Description:

  • This simple but powerful code uses win32.client library for sending Outlook emails configured on your machine and openpyxl to read email id from excel sheet and send email to the destination.

Pre-requisites:

  • Have MS Outlook installed, configured and open.
  • Python installed on your laptop
  • Python path added to Environment variables.(Usually automatically added when installing python)

Steps:

  • Clone the repository to your local machine.
  • Install the requirements using pip install -r requirements.txt
  • Navigate to the project folder on your terminal .\cd Outlook
  • Open Timesheet_reminder_outlook.py and add desired email list in line number 17 of the script(list_of_emails).
  • Run the CODE!!! using below command on your terminal
  • python Timesheet_reminder_outlook.py

This is the output of this code img.png

NOTE:

  • This code sends out an email each time the code is run. You can provide emails to excel sheet it will automatically process the email id from there and send email to those email id. However, if you want an automatic schdeuler to send the reminder email on a desired day and time, use the following steps.

Using Windows Task Scheduler to automatically send the reminder email every Friday at 9:30 AM

  • Follow the steps as illustrated in the screenshots for Automatic scheduling(running the code every friday at 9:30 am)
  • Open Windows Task Scheduler App. (Press Windows button > Search for 'Task Sceduler App' and follow along with the screenshots

1-Create Task 2-Set it for Weekly 3-Set Friday 4-Choose Start a Program 5-Enter the path of py file 6-Finish

Make sure to edit the list of emails in the script for the magic to happen! EDIT: Now the code is edited to fetch emails from your local excel sheet!

CAUTION: Don't Spam the actual email receiver. Test it if you need to, using your own emails Ids :)

https://github.com/rplatotech/AutoEmailReminder - FORK this repo and you are welcome to contribute!!

Feel free to contact me if you need help setting up!

autoemailreminder's People

Contributors

jahidul-pqa avatar jahidulij avatar rohithbhumar avatar rplatotech avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

autoemailreminder's Issues

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.