about summary refs log tree commit diff
path: root/mcom
Commit message (Collapse)AuthorAgeFilesLines
* mcom: add senthookLeah Neukirchen2024-09-111-2/+8
| | | | Closes #226.
* Attach all files when forwarding in raw modeMatthieu Rakotojaona2024-09-111-0/+13
|
* Quote command expansion to prevent word splittingJohannes Thyssen Tishman2023-06-261-2/+2
| | | | | | This is necessary to support maildir paths that contain spaces. Closes: #242 [via git-merge-pr]
* Add Drafts profile keyJohannes Thyssen Tishman2023-06-221-6/+8
| | | | | Allow the user to set a Drafts key in profile to store draft messages and sent messages separately if Outbox is set.
* mrep/mbnc: use mseq -r as leading whitespace is now significant.Leah Neukirchen2022-12-181-3/+3
| | | | Reported by lhynes.
* mcom: allow spaces in sequence for mbnc and mrepcodesoap2022-11-111-0/+6
| | | | Closes: #231 [via git-merge-pr]
* mcom: take Delivered-To into account for choosing From addressStacy Harper2021-11-081-1/+1
| | | | | | | | | | | I just received a mail coming from a Google Group mail list and it had the group email as To. So my reply used the default configured mail as from and not the correct one. Googles mails provide the target email as Delivered-To. This patch add this check before the To to prevent this error. Closes: #217 [via git-merge-pr]
* mrep/mbnc/mfwd: fix sequence after changing flags of (likely) curLeah Neukirchen2021-09-241-0/+3
| | | | | | | Else tools like mless lose track of cur and jump around after these actions. Closes #214.
* mcom: use mhdr -d -A even when extracting From: headersLeah Neukirchen2021-06-181-2/+2
| | | | | | | | | | | We only want to decode the display part of the addresses only. Mails with a From: like From: "Non-ASCII Lastname, Firstname" <mail@example.org> resulted in To: lines like To: Non-ASCII Lastname, Firstname <mail@example.org> which would send to two addresses. Use -A to ensure proper decoding and quoting, even if its just a single address in From.
* mcom: also read $VISUAL to find the editorLeah Neukirchen2021-04-211-1/+1
| | | | Closes #206.
* mcom: do not match shebang in needs_multipart()codesoap2021-01-041-1/+1
| | | | | | Avoids matching lines like '#!/usr/bin/env sh'. Closes: #196 [via git-merge-pr]
* mcom: detect and report mmime errorsLeah Neukirchen2020-11-081-1/+5
| | | | Closes #191.
* mcom: allow tilde prefixed path for profile's outbox settingJames Rowe2020-10-081-1/+1
| | | | Closes: #187 [via git-merge-pr]
* mcom: use - instead of /dev/stdinLeah Neukirchen2020-07-031-19/+19
|
* mrep: use Reply-From configuration to find From headerLeah Neukirchen2020-05-231-2/+11
| | | | | | | This allows replying from different addresses than Local-Mailbox if they appear in To, Cc or Bcc. Idea and initial patch by @nmeum.
* mrep: don't add another From: when -from is used alreadyLeah Neukirchen2020-05-231-2/+5
| | | | Fixes #176.
* mrep/mbnc: allow only one message as argumentLeah Neukirchen2020-03-211-1/+13
|
* mcom: add preview alias for show commandDuncan Overbruck2020-02-051-2/+2
|
* mcom: check if a draft was found when invoking `mcom -r`Sören Tempel2020-01-121-0/+5
| | | | | | | | | Without this patch `mcom -r` would invoke $EDITOR on a directory if the maildir did not contain any drafts. To prevent this from happening, check if a draft was found before performing any further processing. If not, terminate mcom with an error message. Closes: #169 [via git-merge-pr]
* mfwd: prefix Subject with "Fwd:"Leah Neukirchen2020-01-081-1/+1
| | | | | Idea by Larry Hynes. Although no classical mail clients use Fwd: prefix, it has been around for some time.
* mcom: use file --mime instead of file -iLeah Neukirchen2019-05-211-1/+1
| | | | | | This also works on macOS. Closes #162.
* mcom: Quote one more variablecodesoap2019-02-061-1/+1
|
* mcom: Quote two more variablescodesoap2019-02-061-1/+1
| | | | | Before quoting these two variables I experienced problems when trying to use the "encrypt" option while using mcom.
* mcom: decode address for Reply-To: and To: headerLeah Neukirchen2019-02-061-2/+2
| | | | mmime will recode again if required.
* mcom: do_mime: fix for loop quotingLeah Neukirchen2019-02-051-2/+2
|
* mcom: Quote variables and subshells whenever possiblecodesoap2019-02-031-31/+31
|
* mcom: check if mail is formatted sensiblyLeah Neukirchen2019-02-011-6/+32
|
* mcom: add -sendLeah Neukirchen2019-01-291-1/+25
|
* mcom: enter the loop again when we should run mime, another placeLeah Neukirchen2019-01-121-0/+1
|
* mcom: enter the loop again when we should run mimeLeah Neukirchen2019-01-121-0/+1
|
* mcom: automime can be emptyLeah Neukirchen2019-01-121-1/+1
|
* mcom: check drafts exist, and ensure they contain a /Leah Neukirchen2019-01-121-2/+10
|
* mrep: add -noquoteLeah Neukirchen2019-01-021-2/+8
| | | | Closes #139.
* mcom: aborting the editor is more like delete than cancelLeah Neukirchen2018-11-141-1/+1
|
* mcom: whitespace fixesLeah Neukirchen2018-08-151-2/+2
|
* mrep: don't put To: into Cc:, don't duplicate addresses in Cc:Leah Neukirchen2018-08-131-1/+7
|
* mcom: detect Attach: headers for automimingLeah Neukirchen2018-07-161-1/+1
|
* mcom: update flags after mrep/mbnc/mfwdLeah Neukirchen2018-04-171-2/+8
|
* mcom: mark drafts as seen after sendingLeah Neukirchen2018-04-171-2/+2
|
* mcom: add -body to prepopulate draftsLeah Neukirchen2018-03-101-4/+15
|
* mcom: ensure no empty header lines are generated in mrepLeah Neukirchen2018-03-021-1/+1
|
* mcom: cleanupLeah Neukirchen2018-03-021-3/+3
|
* mcom: revamp argument parsing, allow setting arbitrary headers from command lineLeah Neukirchen2018-02-271-24/+129
|
* mcom: put newline in a variableLeah Neukirchen2018-02-261-6/+6
|
* mcom: fix $draftmime for when not using outboxLeah Neukirchen2018-02-261-1/+1
|
* mcom: strip empty headers after editingLeah Neukirchen2018-01-071-0/+7
|
* mcom: avoid xargsLeah Neukirchen2018-01-061-1/+5
|
* add mbnc to bounce messagesLeah Neukirchen2018-01-061-9/+29
|
* mcom: automatically run mmime when deemed necessaryLeah Neukirchen2017-09-221-16/+27
|
* mcom: dreaft -> draftLarry Hynes2017-07-271-1/+1
| | | | Closes: #69 [via git-merge-pr]