Skip to content

Commit

Permalink
docs: fix folder.aliases
Browse files Browse the repository at this point in the history
Fixed wrong folder.alias is the README and in the config.sample.toml.

Refs: #526
  • Loading branch information
soywod committed Dec 19, 2024
1 parent 118a3f9 commit 5eeda24
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ You can also manually edit your own configuration, from scratch:
[accounts.gmail]
email = "[email protected]"

folder.alias.inbox = "INBOX"
folder.alias.sent = "[Gmail]/Sent Mail"
folder.alias.drafts = "[Gmail]/Drafts"
folder.alias.trash = "[Gmail]/Trash"
folder.aliases.inbox = "INBOX"
folder.aliases.sent = "[Gmail]/Sent Mail"
folder.aliases.drafts = "[Gmail]/Drafts"
folder.aliases.trash = "[Gmail]/Trash"

backend.type = "imap"
backend.type.host = "imap.gmail.com"
Expand Down Expand Up @@ -335,10 +335,10 @@ You can also manually edit your own configuration, from scratch:
[accounts.gmail]
email = "[email protected]"

folder.alias.inbox = "INBOX"
folder.alias.sent = "[Gmail]/Sent Mail"
folder.alias.drafts = "[Gmail]/Drafts"
folder.alias.trash = "[Gmail]/Trash"
folder.aliases.inbox = "INBOX"
folder.aliases.sent = "[Gmail]/Sent Mail"
folder.aliases.drafts = "[Gmail]/Drafts"
folder.aliases.trash = "[Gmail]/Trash"

backend.type = "imap"
backend.host = "imap.gmail.com"
Expand Down
12 changes: 6 additions & 6 deletions config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ downloads-dir = "~/downloads"
# by the tool: inbox, sent, drafts and trash. Other aliases can be
# defined as well.
#
folder.alias.inbox = "INBOX"
folder.alias.sent = "Sent"
folder.alias.drafts = "Drafts"
folder.alias.trash = "Trash"
folder.alias.a23 = "Archives/2023"
folder.aliases.inbox = "INBOX"
folder.aliases.sent = "Sent"
folder.aliases.drafts = "Drafts"
folder.aliases.trash = "Trash"
folder.aliases.a23 = "Archives/2023"

# Customizes the number of folders to show by page.
#
Expand Down Expand Up @@ -213,7 +213,7 @@ message.read.format = "auto"
message.write.headers = ["From", "To", "In-Reply-To", "Cc", "Subject"]

# Saves a copy of sent messages to the sent folder. The sent folder is
# taken from folder.alias, defaults to Sent.
# taken from folder.aliases, defaults to Sent.
#
message.send.save-copy = true

Expand Down

0 comments on commit 5eeda24

Please sign in to comment.