⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
docs: add SMTP configuration details to environment setup and documentation
Andrej Acevskic2f096897c42
diff --git a/ENVIRONMENT_SETUP.md b/ENVIRONMENT_SETUP.mdindex 01913a706..69ad22f10 100644--- a/ENVIRONMENT_SETUP.md+++ b/ENVIRONMENT_SETUP.md@@ -45,6 +45,20 @@ Kaneo supports many optional configuration options including:- Access control settings- CORS configuration+#### SMTP Configuration++For sending emails (workspace invitations, magic links, etc.), configure these variables:+- `SMTP_HOST` - SMTP server hostname+- `SMTP_PORT` - SMTP server port+- `SMTP_USER` - SMTP username+- `SMTP_PASSWORD` - SMTP password+- `SMTP_FROM` - From email address+- `SMTP_SECURE` - Use TLS (default: `true`, set to `false` to disable)+- `SMTP_REQUIRE_TLS` - Require TLS (default: `false`, set to `true` to require)+- `SMTP_IGNORE_TLS` - Ignore TLS certificate errors (default: `false`, set to `true` for self-signed certificates)++> **Note:** If you're using an SMTP server with a self-signed or invalid TLS certificate, set `SMTP_IGNORE_TLS=true` to bypass certificate validation.+For a complete list of all environment variables, their descriptions, and configuration options, see the [official documentation](https://kaneo.app/docs/core/installation/environment-variables).## Common Issues & Troubleshootingdiff --git a/apps/docs/content/docs/core/installation/environment-variables.mdx b/apps/docs/content/docs/core/installation/environment-variables.mdxindex 2dd5d60d2..eee772f69 100644--- a/apps/docs/content/docs/core/installation/environment-variables.mdx+++ b/apps/docs/content/docs/core/installation/environment-variables.mdx@@ -109,6 +109,7 @@ Name | Description || `SMTP_PASSWORD` | The SMTP password.| `SMTP_FROM` | The SMTP from address.| `SMTP_REQUIRE_TLS` | Whether to explicitly force to use TLS. [See more on](https://nodemailer.com/smtp#tls-options).+| `SMTP_IGNORE_TLS` | Ignore TLS certificate errors. Set to `true` for self-signed or invalid certificates. Default: `false`.## Key pointsdiff --git a/packages/email/src/send-email.tsx b/packages/email/src/send-email.tsxindex e6dd3c0d6..8f420ba05 100644--- a/packages/email/src/send-email.tsx+++ b/packages/email/src/send-email.tsx@@ -20,6 +20,7 @@ const transporter = nodemailer.createTransport({pass: process.env.SMTP_PASSWORD,},requireTLS: process.env.SMTP_REQUIRE_TLS === "true",+ ignoreTLS: process.env.SMTP_IGNORE_TLS === "true",});export const sendMagicLinkEmail = async (