vikunja/pkg/mail
kolaente 6299bea794 fix(mail): guard log calls in GetMailDomain and fix hostname-dependent tests
GetMailDomain called log.Warningf which panics when the logger is not
initialized (e.g. in unit tests). Add log.IsInitialized() guard.

Also fix TestGetThreadID tests that hardcoded "vikunja" as the expected
fallback domain - on CI the os.Hostname() fallback produces a different
value. Tests now dynamically compute the expected domain.
2026-04-03 18:30:39 +00:00
..
domain.go fix(mail): guard log calls in GetMailDomain and fix hostname-dependent tests 2026-04-03 18:30:39 +00:00
domain_test.go fix(mail): fall back to os.Hostname() before hardcoded domain 2026-04-03 18:30:39 +00:00
mail.go fix(mail): disable queue when mailer disabled (#2069) 2026-01-08 15:51:31 +01:00
send_mail.go refactor(mail): use CryptoRandomString for Message-ID generation 2026-04-03 18:30:39 +00:00
send_mail_test.go fix(mail): set RFC 5322 compliant Message-ID using public URL domain 2026-04-03 18:30:39 +00:00
testing.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00