An open API service indexing awesome lists of open source software.

https://github.com/nhoad/quicksend

Small program to automate typical emails that have file attachments
https://github.com/nhoad/quicksend

Last synced: 5 months ago
JSON representation

Small program to automate typical emails that have file attachments

Awesome Lists containing this project

README

          

quicksend

Dependencies:
-------------
Python 3, internet connection, Linux too for file system monitoring.

General:
--------
Quicksend is a way of sending typical emails with specific attachments, quickly.

I have to send off timelogs of my work progress each week, and it's annoying to create the timesheet, export to pdf, open my email, give it a proper subject, attach it, and send it. This sets me up so all I do is create the timesheet and export it.

It works by monitoring a folder on your computer (typically ~/quicksend/unsent), and when it finds a new file, it will check the filetype against the file types in your ~/quicksend/config file and send them to the matched email address with the custom subject and message. Once this is done the file is moved to ~/.quicksend/sent. I've only written and tested this with Gmail but you're welcome to test it with another SMTP server and see how it goes.

Configuration:
--------------

To get started, make sure you have the following structure in your home directory:

.quicksend
|-- config
|-- sent
|-- unsent

Where sent and unsent are folders, and config is a config file with at least this info:

[settings]
password =
username =

[filetypes]
=

[]
subject =
message =

Installation:
-------------

First, complete the Configuration section, and you're all set up. From there you just need to start quicksend. I recommend creating an alias in your rc file, and setting that up to start whenever you'd like, however your system does that. Once you have it running, that's all you have to do. Just start saving files to the unsent folder, and quicksend will send them for you.