krz/daily-poem

Poetry emailed, at your will. automation email poetry

daily poem

what

python program. requests a random poem from the poetrydb api and emails it to a configured list of addresses.

requires

python, and a way to send mail (e.g. mailutils on debian).

run

git clone <REPO_URL>
cd daily-poem
pip install -r requirements.txt

edit main.py and set:

  • sender_email: the from address
  • recipient_emails: a list of to addresses
  • smtp_server: smtp host, defaults to localhost
  • then:
python main.py

About

Python 84.4%Org 15.6%

1 contributorcmc

Clone

SSH
git clone ssh://git@gitbay.org/krz/daily-poem.git
HTTPS
git clone https://gitbay.org/krz/daily-poem.git