Commit Graph

65 Commits (93e8a4a8920360c730f80f6dfe4353e626bf3502)

Author SHA1 Message Date
Leah Neukirchen 93e8a4a892 mcom: also read $VISUAL to find the editor
Closes #206.
3 years ago
codesoap 8ad63494bf mcom: do not match shebang in needs_multipart()
Avoids matching lines like '#!/usr/bin/env sh'.

Closes: #196 [via git-merge-pr]
3 years ago
Leah Neukirchen 5e6151e3bf mcom: detect and report mmime errors
Closes #191.
4 years ago
James Rowe 0180f649d2 mcom: allow tilde prefixed path for profile's outbox setting
Closes: #187 [via git-merge-pr]
4 years ago
Leah Neukirchen b063294daf mcom: use - instead of /dev/stdin 4 years ago
Leah Neukirchen 282de65079 mrep: use Reply-From configuration to find From header
This allows replying from different addresses than Local-Mailbox
if they appear in To, Cc or Bcc.

Idea and initial patch by @nmeum.
4 years ago
Leah Neukirchen 3ea0c9c355 mrep: don't add another From: when -from is used already
Fixes #176.
4 years ago
Leah Neukirchen 7e6b1c97e6 mrep/mbnc: allow only one message as argument 4 years ago
Duncan Overbruck dc15a75b63 mcom: add preview alias for show command 4 years ago
Sören Tempel 55035ad8b2 mcom: check if a draft was found when invoking `mcom -r`
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]
4 years ago
Leah Neukirchen 6705b3ee29 mfwd: prefix Subject with "Fwd:"
Idea by Larry Hynes.  Although no classical mail clients use Fwd:
prefix, it has been around for some time.
4 years ago
Leah Neukirchen 68272afcba mcom: use file --mime instead of file -i
This also works on macOS.

Closes #162.
5 years ago
codesoap 33a6c48fb6 mcom: Quote one more variable 5 years ago
codesoap d164496e09 mcom: Quote two more variables
Before quoting these two variables I experienced problems when
trying to use the "encrypt" option while using mcom.
5 years ago
Leah Neukirchen 1aa4977f71 mcom: decode address for Reply-To: and To: header
mmime will recode again if required.
5 years ago
Leah Neukirchen 9d280aa8a3 mcom: do_mime: fix for loop quoting 5 years ago
codesoap d68287aae5 mcom: Quote variables and subshells whenever possible 5 years ago
Leah Neukirchen 5a2c6747b6 mcom: check if mail is formatted sensibly 5 years ago
Leah Neukirchen a6f48fe371 mcom: add -send 5 years ago
Leah Neukirchen 3c6f5c3cee mcom: enter the loop again when we should run mime, another place 5 years ago
Leah Neukirchen 577b4497e4 mcom: enter the loop again when we should run mime 5 years ago
Leah Neukirchen 30fba2bcfd mcom: automime can be empty 5 years ago
Leah Neukirchen d6c2470ad1 mcom: check drafts exist, and ensure they contain a / 5 years ago
Leah Neukirchen ae720c51e0 mrep: add -noquote
Closes #139.
5 years ago
Leah Neukirchen 4235c384ab mcom: aborting the editor is more like delete than cancel 6 years ago
Leah Neukirchen 5294c374df mcom: whitespace fixes 6 years ago
Leah Neukirchen eca1ff8087 mrep: don't put To: into Cc:, don't duplicate addresses in Cc: 6 years ago
Leah Neukirchen ebaf9e2df2 mcom: detect Attach: headers for automiming 6 years ago
Leah Neukirchen 5f250330cb mcom: update flags after mrep/mbnc/mfwd 6 years ago
Leah Neukirchen 14a2c978db mcom: mark drafts as seen after sending 6 years ago
Leah Neukirchen 64da4ff0fa mcom: add -body to prepopulate drafts 6 years ago
Leah Neukirchen f83a6fea9a mcom: ensure no empty header lines are generated in mrep 6 years ago
Leah Neukirchen 372450cd70 mcom: cleanup 6 years ago
Leah Neukirchen c49c0b4a56 mcom: revamp argument parsing, allow setting arbitrary headers from command line 6 years ago
Leah Neukirchen 4b9e7f5952 mcom: put newline in a variable 6 years ago
Leah Neukirchen c12fd15d3f mcom: fix $draftmime for when not using outbox 6 years ago
Leah Neukirchen dd6915d47e mcom: strip empty headers after editing 6 years ago
Leah Neukirchen 6f3fa0d78b mcom: avoid xargs 6 years ago
Leah Neukirchen 88a87a361a add mbnc to bounce messages 6 years ago
Leah Neukirchen 75ba2ab9a5 mcom: automatically run mmime when deemed necessary 7 years ago
Larry Hynes 7fd982d172 mcom: dreaft -> draft
Closes: #69 [via git-merge-pr]
7 years ago
Leah Neukirchen 73d80d80f9 mrep: avoid initial space for References:
This triggered qp-encoding, which is not allowed for this header.
7 years ago
Wolfgang Jenkner b0d61b8275 mcom: fix non-POSIX sed usage 7 years ago
Leah Neukirchen 2db5551a7e mcom: add Date: header before submission, or when cancelling a draft 7 years ago
Leah Neukirchen c125256132 mcom: integrate msign and mencrypt 7 years ago
Leah Neukirchen 1eef4b729a mcom: remove debugging output 7 years ago
Leah Neukirchen 02383ec51c mcom: send attached messages inline and without leaking basename 7 years ago
Leah Neukirchen 7955efa88e mcom: don't limit column width for subjects 7 years ago
Leah Neukirchen eeacad9fd8 mcom: add -r to resume editing drafts 7 years ago
Leah Neukirchen 2939be9f34 mcom: add mfwd command to forward messages 7 years ago