Skip to content

chore: update mail configuration and Dockerfile for improved email ha…#110

Merged
iambaboucarr merged 1 commit intomainfrom
refactor/staging-deploy
May 5, 2026
Merged

chore: update mail configuration and Dockerfile for improved email ha…#110
iambaboucarr merged 1 commit intomainfrom
refactor/staging-deploy

Conversation

@iambaboucarr
Copy link
Copy Markdown
Collaborator

…ndling

  • Modified .env.example to set MAIL_SECURE to false and added a note regarding MAIL_HOST for email functionality.
  • Updated Dockerfile to copy templates from the build stage, ensuring they are available in the application.
  • Enhanced mail configuration to trim whitespace from environment variables and added validation for mail service initialization in mail.service.ts.
  • Improved error handling in templates.controller.ts for JSON content parsing, throwing a BadRequestException on invalid input.

…ndling

- Modified .env.example to set MAIL_SECURE to false and added a note regarding MAIL_HOST for email functionality.
- Updated Dockerfile to copy templates from the build stage, ensuring they are available in the application.
- Enhanced mail configuration to trim whitespace from environment variables and added validation for mail service initialization in mail.service.ts.
- Improved error handling in templates.controller.ts for JSON content parsing, throwing a BadRequestException on invalid input.
@iambaboucarr iambaboucarr merged commit bdc9271 into main May 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant