-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add settings to allow different SMTP envelope from address #17479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wxiaoguang
merged 13 commits into
go-gitea:main
from
zeripath:fix-17477-make-mailer-envelope-from-optional
Nov 19, 2021
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
641aaa1
Add settings to allow different SMTP envelope from address
zeripath 20edfa5
Remove USE_DIFFERENT_ENVELOPE_FROM option - instead determine whether…
zeripath e223dfd
Merge remote-tracking branch 'origin/main' into fix-17477-make-mailer…
zeripath 9084f41
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
wxiaoguang ff5dd24
Merge remote-tracking branch 'origin/main' into fix-17477-make-mailer…
zeripath 59636ec
As per review
zeripath ea37b21
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
lunny 95fcb7c
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
lunny 38d483a
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
wxiaoguang 6effc52
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
wxiaoguang 3b2d946
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
wxiaoguang ffccd78
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
lunny e58d569
Merge branch 'main' into fix-17477-make-mailer-envelope-from-optional
lunny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1457,6 +1457,9 @@ PATH = | |
;; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <[email protected]>` format | ||
;FROM = | ||
;; | ||
;; Sometimes it is helpful to use a different address on the envelope. Set this to use ENVELOPE_FROM as the from on the envelope. Set to `<>` to send an empty address. | ||
;ENVELOPE_FROM = | ||
;; | ||
;; Mailer user name and password | ||
;; Please Note: Authentication is only supported when the SMTP server communication is encrypted with TLS (this can be via STARTTLS) or `HOST=localhost`. | ||
;USER = | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -606,6 +606,7 @@ Define allowed algorithms and their minimum key length (use -1 to disable a type | |
- Otherwise if `IS_TLS_ENABLED=false` and the server supports `STARTTLS` this will be used. Thus if `STARTTLS` is preferred you should set `IS_TLS_ENABLED=false`. | ||
- `FROM`: **\<empty\>**: Mail from address, RFC 5322. This can be just an email address, or | ||
the "Name" \<[email protected]\> format. | ||
- `ENVELOPE_FROM`: **\<empty\>**: Address set as the From address on the SMTP mail envelope. Set to `<>` to send an empty address. | ||
- `USER`: **\<empty\>**: Username of mailing user (usually the sender's e-mail address). | ||
- `PASSWD`: **\<empty\>**: Password of mailing user. Use \`your password\` for quoting if you use special characters in the password. | ||
- Please note: authentication is only supported when the SMTP server communication is encrypted with TLS (this can be via `STARTTLS`) or `HOST=localhost`. See [Email Setup]({{< relref "doc/usage/email-setup.en-us.md" >}}) for more information. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.