aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.adoc
diff options
context:
space:
mode:
authorAditya Garg <gargaditya08@live.com>2025-04-29 16:37:09 +0000
committerJunio C Hamano <gitster@pobox.com>2025-04-29 10:06:52 -0700
commitdaec3c08e3e40c436cab013c5005a6e8b2e7923e (patch)
tree31fb5f4a8386de5ef2fed5231f09c4138bd8d432 /Documentation/git-send-email.adoc
parentd235c468a5d713f8244727d1862eaa1f029b3821 (diff)
downloadgit-daec3c08e3e40c436cab013c5005a6e8b2e7923e.tar.xz
send-email: add --[no-]outlook-id-fix option
Add an option to allow users to specifically enable or disable retrieving the Message-ID from the Outlook SMTP server. This can be used for other hosts mimicking the behaviour of Outlook, or for users who set a custom domain to be a CNAME for the Outlook SMTP server. While at it, lets also add missing * in description of --no-smtp-auth. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Aditya Garg <gargaditya08@live.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-send-email.adoc')
-rw-r--r--Documentation/git-send-email.adoc13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/git-send-email.adoc b/Documentation/git-send-email.adoc
index 7f223db42d..92389036fa 100644
--- a/Documentation/git-send-email.adoc
+++ b/Documentation/git-send-email.adoc
@@ -115,6 +115,19 @@ illustration below where `[PATCH v2 0/3]` is in reply to `[PATCH 0/2]`:
Only necessary if --compose is also set. If --compose
is not set, this will be prompted for.
+--[no-]outlook-id-fix::
+ Microsoft Outlook SMTP servers discard the Message-ID sent via email and
+ assign a new random Message-ID, thus breaking threads.
++
+With `--outlook-id-fix`, 'git send-email' uses a mechanism specific to
+Outlook servers to learn the Message-ID the server assigned to fix the
+threading. Use it only when you know that the server reports the
+rewritten Message-ID the same way as Outlook servers do.
++
+Without this option specified, the fix is done by default when talking
+to 'smtp.office365.com' or 'smtp-mail.outlook.com'. Use
+`--no-outlook-id-fix` to disable even when talking to these two servers.
+
--subject=<string>::
Specify the initial subject of the email thread.
Only necessary if --compose is also set. If --compose