]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-imap-send.txt
GIT 1.6.4.4
[thirdparty/git.git] / Documentation / git-imap-send.txt
CommitLineData
454a35b8
MM
1git-imap-send(1)
2================
3
4NAME
5----
c82b0748 6git-imap-send - Send a collection of patches from stdin to an IMAP folder
454a35b8
MM
7
8
9SYNOPSIS
10--------
b1889c36 11'git imap-send'
454a35b8
MM
12
13
14DESCRIPTION
15-----------
c82b0748
RS
16This command uploads a mailbox generated with 'git-format-patch'
17into an IMAP drafts folder. This allows patches to be sent as
18other email is when using mail clients that cannot read mailbox
454a35b8
MM
19files directly.
20
21Typical usage is something like:
22
b1889c36 23git format-patch --signoff --stdout --attach origin | git imap-send
454a35b8
MM
24
25
26CONFIGURATION
27-------------
28
c82b0748
RS
29To use the tool, imap.folder and either imap.tunnel or imap.host must be set
30to appropriate values.
31
32Variables
33~~~~~~~~~
34
35imap.folder::
36 The folder to drop the mails into, which is typically the Drafts
37 folder. For example: "INBOX.Drafts", "INBOX/Drafts" or
38 "[Gmail]/Drafts". Required to use imap-send.
39
40imap.tunnel::
41 Command used to setup a tunnel to the IMAP server through which
42 commands will be piped instead of using a direct network connection
43 to the server. Required when imap.host is not set to use imap-send.
44
45imap.host::
46 A URL identifying the server. Use a `imap://` prefix for non-secure
47 connections and a `imaps://` prefix for secure connections.
48 Ignored when imap.tunnel is set, but required to use imap-send
49 otherwise.
50
51imap.user::
52 The username to use when logging in to the server.
53
43be7a78 54imap.pass::
c82b0748
RS
55 The password to use when logging in to the server.
56
57imap.port::
58 An integer port number to connect to on the server.
59 Defaults to 143 for imap:// hosts and 993 for imaps:// hosts.
60 Ignored when imap.tunnel is set.
61
62imap.sslverify::
63 A boolean to enable/disable verification of the server certificate
64 used by the SSL/TLS connection. Default is `true`. Ignored when
65 imap.tunnel is set.
66
c64d84f1
JW
67imap.preformattedHTML::
68 A boolean to enable/disable the use of html encoding when sending
69 a patch. An html encoded patch will be bracketed with <pre>
70 and have a content type of text/html. Ironically, enabling this
71 option causes Thunderbird to send the patch as a plain/text,
72 format=fixed email. Default is `false`.
73
c82b0748
RS
74Examples
75~~~~~~~~
76
77Using tunnel mode:
454a35b8 78
2b5f3ed3 79..........................
454a35b8 80[imap]
c82b0748
RS
81 folder = "INBOX.Drafts"
82 tunnel = "ssh -q -C user@example.com /usr/bin/imapd ./Maildir 2> /dev/null"
83..........................
454a35b8 84
c82b0748
RS
85Using direct mode:
86
87.........................
454a35b8 88[imap]
c82b0748
RS
89 folder = "INBOX.Drafts"
90 host = imap://imap.example.com
91 user = bob
92 pass = p4ssw0rd
93..........................
94
95Using direct mode with SSL:
454a35b8 96
c82b0748 97.........................
454a35b8 98[imap]
c82b0748
RS
99 folder = "INBOX.Drafts"
100 host = imaps://imap.example.com
101 user = bob
102 pass = p4ssw0rd
103 port = 123
684ec6c6 104 sslverify = false
2b5f3ed3 105..........................
454a35b8
MM
106
107
1a526d48
JW
108CAUTION
109-------
110It is still your responsibility to make sure that the email message
111sent by your email program meets the standards of your project.
112Many projects do not like patches to be attached. Some mail
113agents will transform patches (e.g. wrap lines, send them as
114format=flowed) in ways that make them fail. You will get angry
115flames ridiculing you if you don't check this.
116
117Thunderbird in particular is known to be problematic. Thunderbird
118users may wish to visit this web page for more information:
119 http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email
120
121
454a35b8
MM
122BUGS
123----
124Doesn't handle lines starting with "From " in the message body.
125
126
127Author
128------
129Derived from isync 1.0.1 by Mike McCormack.
130
131Documentation
132--------------
133Documentation by Mike McCormack
134
135GIT
136---
9e1f0a85 137Part of the linkgit:git[1] suite