Developed during the 3rd HackPompey hackathon.
Yesterday is a procrastination tool which allows you to send emails up to 24 hours in the past.
It has two modes.
Without the -http flag, it runs in command-line mode and sends emails from the terminal.
yesterday -to="jane.roe@uni.edu" -subject="Report" -message="See attachment." report.pdf
With the -http flag, it runs as a web server and sends emails from a web page.
yesterday -http=:6565
go get github.com/mewmew/yesterday
cp $GOPATH/src/github.com/mewmew/yesterday/example_auth.json auth.json
# Edit username and password for SMTP authentication in auth.json
yesterday [OPTION]... FILE...
Flags:
-auth string
JSON file with SMTP authentication information. (default "auth.json")
-d Enable debug output.
-http string
HTTP service address (e.g. ":6565").
-message string
Email message.
-past duration
Spoof date in number of hours in the past. (default 24h0m0s)
-subject string
Email subject.
-to string
Recipient email address.
Yesterday, all my troubles seemed so far away
Oh, I believe in yesterday
Yesterday, love was such an easy game to play
The source code and any original content of this repository is hereby released into the public domain.


