STG−MAIL - Online Linux Manual PageSection : 1
Updated : 01/27/2021
Source : StGit 0​.23
Note : StGit Manual

NAMEstg-mail − Send a patch or series of patches by e−mail

SYNOPSISstg mail [options] [−−] [<patch1>] [<patch2>] [<patch3>​.​.<patch4>]

DESCRIPTIONSend a patch or a range of patches by e−mail using the SMTP server specified by the stgit​.smtpserver configuration option, or the −−smtp−server command line option​. This option can also be an absolute path to sendmail followed by command line arguments​. The From address and the e−mail format are generated from the template file passed as argument to −−template (defaulting to ​.git/patchmail​.tmpl or ~/​.stgit/templates/patchmail​.tmpl or /usr/share/stgit/templates/patchmail​.tmpl)​. A patch can be sent as attachment using the −−attach option in which case the mailattch​.tmpl template will be used instead of patchmail​.tmpl​. The To/Cc/Bcc addresses can either be added to the template file or passed via the corresponding command line options​. They can be e−mail addresses or aliases which are automatically expanded to the values stored in the [mail "alias"] section of GIT configuration files​. A preamble e−mail can be sent using the −−cover and/or −−edit−cover options​. The first allows the user to specify a file to be used as a template​. The latter option will invoke the editor on the specified file (defaulting to ​.git/covermail​.tmpl or ~/​.stgit/templates/covermail​.tmpl or /usr/share/stgit/templates/covermail​.tmpl)​. All the subsequent e−mails appear as replies to the first e−mail sent (either the preamble or the first patch)​. E−mails can be seen as replies to a different e−mail by using the −−in−reply−to option​. SMTP authentication is also possible with −−smtp−user and −−smtp−password options, also available as configuration settings: smtpuser and smtppassword​. TLS encryption can be enabled by −−smtp−tls option and smtptls setting​. The following variables are accepted by both the preamble and the patch e−mail templates: %(diffstat)s − diff statistics %(number)s − empty if only one patch is sent or 'patchnr/totalnr' %(snumber)s − stripped version of '%(number)s' %(nspace)s − ' ' if %(number)s is non−empty, otherwise empty string %(patchnr)s − patch number %(sender)s − 'sender' or 'authname <authemail>' as per the config file %(totalnr)s − total number of patches to be sent %(version)s − 'version' string passed on the command line (or empty) %(vspace)s − ' ' if %(version)s is non−empty, otherwise empty stringIn addition to the common variables, the preamble e−mail template accepts the following: %(shortlog)s − first line of each patch description, listed by authorIn addition to the common variables, the patch e−mail template accepts the following: %(authdate)s − patch creation date %(authemail)s − author's email %(authname)s − author's name %(commemail)s − committer's e−mail %(commname)s − committer's name %(diff)s − unified diff of the patch %(fromauth)s − 'From: author\n\n' if different from sender %(longdescr)s − the rest of the patch description, after the first line %(patch)s − patch name %(prefix)s − 'prefix' string passed on the command line %(pspace)s − ' ' if %(prefix)s is non−empty, otherwise empty string %(shortdescr)s − the first line of the patch description

OPTIONS−a, −−all E−mail all the applied patches​. −−to TO Add TO to the To: list​. −−cc CC Add CC to the Cc: list​. −−bcc BCC Add BCC to the Bcc: list​. −−auto Automatically cc the patch signers​. −−no−thread Do not send subsequent messages as replies​. −−unrelated Send patches without sequence numbering​. −−attach Send a patch as attachment​. −−attach−inline Send a patch inline and as an attachment​. −v VERSION, −−version VERSION Add VERSION to the [PATCH ​...] prefix​. −−prefix PREFIX Add PREFIX to the [​... PATCH ​...] prefix​. −t FILE, −−template FILE Use FILE as the message template​. −c FILE, −−cover FILE Send FILE as the cover message​. −e, −−edit−cover Edit the cover message before sending​. −E, −−edit−patches Edit each patch before sending​. −s SECONDS, −−sleep SECONDS Sleep for SECONDS between e−mails sending​. −−in−reply−to REFID Use REFID as the reference id​. −−smtp−server HOST[:PORT] or "/path/to/sendmail −t −i" SMTP server or command to use for sending mail​. −u USER, −−smtp−user USER Username for SMTP authentication​. −p PASSWORD, −−smtp−password PASSWORD Password for SMTP authentication​. −T, −−smtp−tls Use SMTP with TLS encryption​. −b BRANCH, −−branch BRANCH Use BRANCH instead of the default branch​. −m, −−mbox Generate an mbox file instead of sending​. −−domain DOMAIN Use DOMAIN when generating message IDs (instead of the system hostname)​. −−git Use git send−email (EXPERIMENTAL)​. −O OPTIONS, −−diff−opts OPTIONS Extra options to pass to "git diff"​.

STGITPart of the StGit suite − see stg(1)
0
Johanes Gumabo
Data Size   :   21,176 byte
man-stg-mail.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 203,625
Visitor ID   :     :  
Visitor IP   :   18.118.195.30   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.