Home Explore Blog CI



git

2nd chunk of `Documentation/config/sendemail.adoc`
d2347f22a9220b3d90ec74e853bd362c30ce54bf340da8a00000000100000c21
 sending. Must be
	one of 'always', 'never', 'cc', 'compose', or 'auto'. See `--confirm`
	in the linkgit:git-send-email[1] documentation for the meaning of these
	values.

sendemail.mailmap::
	If true, makes linkgit:git-send-email[1] assume `--mailmap`,
	otherwise assume `--no-mailmap`. False by default.

sendemail.mailmap.file::
	The location of a linkgit:git-send-email[1] specific augmenting
	mailmap file. The default mailmap and `mailmap.file` are loaded
	first. Thus, entries in this file take precedence over entries in
	the default mailmap locations. See linkgit:gitmailmap[5].

sendemail.mailmap.blob::
	Like `sendemail.mailmap.file`, but consider the value as a reference
	to a blob in the repository. Entries in `sendemail.mailmap.file`
	take precedence over entries here. See linkgit:gitmailmap[5].

sendemail.aliasesFile::
	To avoid typing long email addresses, point this to one or more
	email aliases files.  You must also supply `sendemail.aliasFileType`.

sendemail.aliasFileType::
	Format of the file(s) specified in sendemail.aliasesFile. Must be
	one of 'mutt', 'mailrc', 'pine', 'elm', 'gnus', or 'sendmail'.
+
What an alias file in each format looks like can be found in
the documentation of the email program of the same name. The
differences and limitations from the standard formats are
described below:
+
--
sendmail;;
*	Quoted aliases and quoted addresses are not supported: lines that
	contain a `"` symbol are ignored.
*	Redirection to a file (`/path/name`) or pipe (`|command`) is not
	supported.
*	File inclusion (`:include: /path/name`) is not supported.
*	Warnings are printed on the standard error output for any
	explicitly unsupported constructs, and any other lines that are not
	recognized by the parser.
--
sendemail.annotate::
sendemail.bcc::
sendemail.cc::
sendemail.ccCmd::
sendemail.chainReplyTo::
sendemail.envelopeSender::
sendemail.from::
sendemail.headerCmd::
sendemail.signedOffByCc::
sendemail.smtpPass::
sendemail.suppressCc::
sendemail.suppressFrom::
sendemail.to::
sendemail.toCmd::
sendemail.smtpDomain::
sendemail.smtpServer::
sendemail.smtpServerPort::
sendemail.smtpServerOption::
sendemail.smtpUser::
sendemail.thread::
sendemail.transferEncoding::
sendemail.validate::
sendemail.xmailer::
	These configuration variables all provide a default for
	linkgit:git-send-email[1] command-line options. See its
	documentation for details.

sendemail.signedOffCc (deprecated)::
	Deprecated alias for `sendemail.signedOffByCc`.

sendemail.smtpBatchSize::
	Number of messages to be sent per connection, after that a relogin
	will happen.  If the value is 0 or undefined, send all messages in
	one connection.
	See also the `--batch-size` option of linkgit:git-send-email[1].

sendemail.smtpReloginDelay::
	Seconds to wait before reconnecting to the smtp server.
	See also the `--relogin-delay` option of linkgit:git-send-email[1].

sendemail.forbidSendmailVariables::
	To avoid common misconfiguration mistakes, linkgit:git-send-email[1]
	will abort with a warning if any configuration options for "sendmail"
	exist. Set this variable to bypass the check.

Title: Advanced Git Send Email Configuration Options
Summary
This section outlines additional configuration options for Git's send email feature, including settings for mail mapping, alias files, and SMTP server connections, as well as deprecated options and variables to customize the sending process and avoid common misconfigurations.