Email client, application startup logic and tests

This commit is contained in:
Alphonse Paix
2025-08-24 11:31:03 +02:00
parent 85ab04f254
commit 4389873bf4
14 changed files with 636 additions and 410 deletions

View File

@@ -6,3 +6,8 @@ database:
username: "postgres"
password: "password"
database_name: "newsletter"
email_client:
base_url: "http://127.0.0.1"
sender_email: "sender@example.com"
authorization_token: "my-secret-token"
timeout_milliseconds: 10000

View File

@@ -2,3 +2,6 @@ application:
host: "0.0.0.0"
database:
require_ssl: true
email_client:
base_url: "https://api.mailersend.com"
sender_email: "MS_PTrumQ@test-r6ke4n1mmzvgon12.mlsender.net"