summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-11-09 22:22:11 +0200
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-11-09 22:22:11 +0200
commit72084da18569df449adb16083bf2964a85c9b730 (patch)
treed9668b03d096e7e5e3a430ca10a7bb022e242ec8 /docs
parent23777171f231163455007ff11fa57b5dcde6ac5c (diff)
Add store_sent_mail option for gmail
- store_sent_mail boolean Store sent mail after successful submission. This setting is meant to be disabled for non-standard behaviour in gmail, which auto-saves sent mail on its own.
Diffstat (limited to 'docs')
-rw-r--r--docs/meli.conf.56
-rw-r--r--docs/samples/sample-config.toml20
2 files changed, 25 insertions, 1 deletions
diff --git a/docs/meli.conf.5 b/docs/meli.conf.5
index e4918715..8c386453 100644
--- a/docs/meli.conf.5
+++ b/docs/meli.conf.5
@@ -397,6 +397,12 @@ Add meli User-Agent header in new drafts
.Pq Em true
.It Ic default_header_values Ar hash table String[String]
Default header values used when creating a new draft.
+.It Ic store_sent_mail Ar boolean
+.Pq Em optional
+Store sent mail after successful submission.
+This setting is meant to be disabled for non-standard behaviour in gmail, which auto-saves sent mail on its own.
+.\" default value
+.Pq Em true
.El
.Sh SHORTCUTS
Shortcuts can take the following values:
diff --git a/docs/samples/sample-config.toml b/docs/samples/sample-config.toml
index 367310a7..d2062c52 100644
--- a/docs/samples/sample-config.toml
+++ b/docs/samples/sample-config.toml
@@ -59,7 +59,25 @@
# "INBOX" = { query="tag:inbox", subscribe = true }
# "Drafts" = { query="tag:draft", subscribe = true }
# "Sent" = { query="from:username@server.tld from:username2@server.tld", subscribe = true }
-##
+#
+## Setting up a Gmail account
+#[accounts."gmail"]
+#root_mailbox = '[Gmail]'
+#format = "imap"
+#server_hostname='imap.gmail.com'
+#server_password="password"
+#server_username="username@gmail.com"
+#server_port="993"
+#index_style = "Conversations"
+#identity = "username@server.tld"
+#display_name = "Name Name"
+### match every mailbox:
+#subscribed_mailboxes = ["*" ]
+#composing.send_mail = 'msmtp --read-recipients --read-envelope-from'
+### Gmail auto saves sent mail to Sent folder, so don't duplicate the effort:
+#composing.store_sent_mail = false
+#
+#
#[pager]
#filter = "COLUMNS=72 /usr/local/bin/pygmentize -l email"
#pager_context = 0 # default, optional