Commit Graph

8 Commits

Author SHA1 Message Date
47b4a14c4b fix: Ensure email configuration from environment variables is properly used
Fixed an issue where SMTP configuration would fall back to defaults despite
environment variables being set in docker-compose.yml. The email utility now
properly accesses runtime configuration by accepting the H3 event context.

Changes:
- Created getEmailConfig() helper with dual-strategy config access
- Pass event context from API handlers to email functions
- Added fallback to direct process.env access for reliability
- Added debug logging to diagnose configuration issues in production

This ensures Office365 and other SMTP providers work correctly when configured
via environment variables.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 18:11:13 -05:00
dfdb3e0840 security fixes 2025-10-12 00:24:27 -04:00
a4aca9c99d Downloaded notes filename change 2025-10-07 10:31:39 -04:00
3faec06186 Notes saving fixes 2025-10-07 09:16:27 -04:00
2f505ad7e2 email formatting 2025-10-07 09:10:37 -04:00
8afcac954c auth fixes 2025-10-07 09:02:28 -04:00
7fc1d79eeb Saving notes and username fixes 2025-10-07 08:58:38 -04:00
2dbd4f6ba0 Notes! 2025-10-06 17:20:26 -04:00