mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-08 22:46:17 +00:00
Use docusaurus warning/note syntax instead markdown
This commit is contained in:
@@ -23,9 +23,13 @@ Gitea has mailer functionality for sending transactional emails (such as registr
|
||||
|
||||
Use `sendmail` command as mailer.
|
||||
|
||||
Note: For use in the official Gitea Docker image, please configure with the SMTP version (see the following section).
|
||||
:::note
|
||||
For use in the official Gitea Docker image, please configure with the SMTP version (see the following section).
|
||||
:::
|
||||
|
||||
Note: For Internet-facing sites consult documentation of your MTA for instructions to send emails over TLS. Also set up SPF, DMARC, and DKIM DNS records to make emails sent be accepted as legitimate by various email providers.
|
||||
:::note
|
||||
For Internet-facing sites consult documentation of your MTA for instructions to send emails over TLS. Also set up SPF, DMARC, and DKIM DNS records to make emails sent be accepted as legitimate by various email providers.
|
||||
:::
|
||||
|
||||
```ini title="app.ini"
|
||||
[mailer]
|
||||
@@ -57,7 +61,9 @@ To send a test email to validate the settings, go to Gitea > Site Administration
|
||||
|
||||
For the full list of options check the [Config Cheat Sheet](administration/config-cheat-sheet.md)
|
||||
|
||||
Please note: authentication is only supported when the SMTP server communication is encrypted with TLS or `HOST=localhost`. TLS encryption can be through:
|
||||
:::note
|
||||
Authentication is only supported when the SMTP server communication is encrypted with TLS or `HOST=localhost`. TLS encryption can be through:
|
||||
:::
|
||||
|
||||
- STARTTLS (also known as Opportunistic TLS) via port 587. Initial connection is done over cleartext, but then be upgraded over TLS if the server supports it.
|
||||
- SMTPS connection (SMTP over TLS) via the default port 465. Connection to the server use TLS from the beginning.
|
||||
|
||||
Reference in New Issue
Block a user