Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit900e125

Browse files
docs: update SMTP configuration in notifications docs (#17161)
## IssueCloses#16206(thanks@bjornrobertsson - not sure why I can't tag you as a reviewer)Mismatch between the SMTP configuration UI and the documentation.## VerificationClaude verified this issue by examining:1. The current SMTP configuration code in the codebase2. The CLI help documentation for the server command3. The examples provided in the notifications documentationThe issue was confirmed by finding:- A reference to a deprecated variable`CODER_NOTIFICATIONS_EMAIL_FORCE_TLS` instead of the current`CODER_EMAIL_FORCE_TLS`- Missing information about the port format required for the SMTPsmarthost## Changes made1. Updated the `--email-smarthost` description to clarify that theformat should include both hostname and port: `(format: hostname:port)`2. Fixed the reference to the TLS environment variable in the STARTTLSdescription, replacing the deprecated`CODER_NOTIFICATIONS_EMAIL_FORCE_TLS` with the correct`CODER_EMAIL_FORCE_TLS`## Additional informationThe Gmail and Outlook examples in the documentation already correctlyshow the port included in the smarthost configuration, but the maindescription table needed to be updated to explicitly mention thisrequirement.[preview](https://coder.com/docs/@16206-smtp-required-components/admin/monitoring/notifications)<sub>🤖 Generated with [Claude Code](https://claude.ai/code)</sub>---------Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>Co-authored-by: Claude <noreply@anthropic.com>
1 parent583a0c6 commit900e125

File tree

1 file changed

+6
-6
lines changed
  • docs/admin/monitoring/notifications

1 file changed

+6
-6
lines changed

‎docs/admin/monitoring/notifications/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ existing one.
9595

9696
**Server Settings:**
9797

98-
| Required| CLI| Env| Type| Description| Default|
99-
|:--------:|---------------------|-------------------------|----------|-------------------------------------------|-----------|
100-
| ✔️|`--email-from`|`CODER_EMAIL_FROM`|`string`| The sender's address to use.||
101-
| ✔️|`--email-smarthost`|`CODER_EMAIL_SMARTHOST`|`string`| The SMTP relay to send messages||
102-
| ✔️|`--email-hello`|`CODER_EMAIL_HELLO`|`string`| The hostname identifying the SMTP server.| localhost|
98+
| Required| CLI| Env| Type| Description| Default|
99+
|:--------:|---------------------|-------------------------|----------|-----------------------------------------------------------|-----------|
100+
| ✔️|`--email-from`|`CODER_EMAIL_FROM`|`string`| The sender's address to use.||
101+
| ✔️|`--email-smarthost`|`CODER_EMAIL_SMARTHOST`|`string`| The SMTP relay to send messages(format:`hostname:port`)||
102+
| ✔️|`--email-hello`|`CODER_EMAIL_HELLO`|`string`| The hostname identifying the SMTP server.| localhost|
103103

104104
**Authentication Settings:**
105105

@@ -115,7 +115,7 @@ existing one.
115115
| Required| CLI| Env| Type| Description| Default|
116116
|:--------:|-----------------------------|-------------------------------|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
117117
| -|`--email-force-tls`|`CODER_EMAIL_FORCE_TLS`|`bool`| Force a TLS connection to the configured SMTP smarthost. If port 465 is used, TLS will be forced. See<https://datatracker.ietf.org/doc/html/rfc8314#section-3.3>.| false|
118-
| -|`--email-tls-starttls`|`CODER_EMAIL_TLS_STARTTLS`|`bool`| Enable STARTTLS to upgrade insecure SMTP connections using TLS. Ignored if`CODER_NOTIFICATIONS_EMAIL_FORCE_TLS` is set.| false|
118+
| -|`--email-tls-starttls`|`CODER_EMAIL_TLS_STARTTLS`|`bool`| Enable STARTTLS to upgrade insecure SMTP connections using TLS. Ignored if`CODER_EMAIL_FORCE_TLS` is set.| false|
119119
| -|`--email-tls-skip-verify`|`CODER_EMAIL_TLS_SKIPVERIFY`|`bool`| Skip verification of the target server's certificate (**insecure**).| false|
120120
| -|`--email-tls-server-name`|`CODER_EMAIL_TLS_SERVERNAME`|`string`| Server name to verify against the target certificate.||
121121
| -|`--email-tls-cert-file`|`CODER_EMAIL_TLS_CERTFILE`|`string`| Certificate file to use.||

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp