Skip to content

Commit

Permalink
feat: allow sending invoice emails using Mailgun (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooakar authored Aug 11, 2024
1 parent 286023b commit 5dd6452
Show file tree
Hide file tree
Showing 13 changed files with 907 additions and 484 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
DATABASE_URL="postgres://postgres@localhost/laskugeneraattori"
RUST_LOG=laskugeneraattori=debug,tower_http=debug,axum::rejection=trace
ATTACHMENT_PATH=.
MAILGUN_URL="https://api.eu.mailgun.net/v3/laskutus.tietokilta.fi/messages"
MAILGUN_USER="api"
MAILGUN_PASSWORD=
MAILGUN_TO="Rahastonhoitaja <rahastonhoitaja@tietokilta.fi>"
MAILGUN_FROM="noreply@laskutus.tietokilta.fi"
Loading

0 comments on commit 5dd6452

Please sign in to comment.