Skip to content

eformo/lunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

lunch

About

For those that are stuck in an office with people that can't get a lunch ordered and called in. This script will randomly choose a person to put the order together and another person to call the order in and email them.

Instructions to run script

  1. Create a list of people in your office using the same format as example.in
  2. Modify the filename of the list in the script
  3. Download an image to send with your email
  4. run the program ./lunch.py

Instructions to setup mutt with gmail

  1. Install Mutt
    sudo apt-get install mutt
  2. Create new gmail address
  3. enable IMAP
  4. enable less-secure devices - https://support.google.com/accounts/answer/6010255?hl=en
  5. edit the ~/.muttrc file
set imap_user = "<your_email>@gmail.com"
set imap_pass = "<your_password>"

set smtp_url = "smtp://<your_email>@smtp.gmail.com:587/"
set smtp_pass = "<your_password>"
set from = "<your_email>@gmail.com"
set realname = "Lunch_Boss"

set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"

set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates

set move = no

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages