README.org

main
daily-poem/README.org rendered · source · history · blame · raw

26 lines · 505 bytes

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