From ce7057bbcf15b7756607a2ffd69342d23a444001 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 12 May 2022 00:46:38 -0300 Subject: .local/bin/msg: Use `email` command over `mail` --- .local/bin/msg | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.local/bin/msg b/.local/bin/msg index e3509989..ff672314 100755 --- a/.local/bin/msg +++ b/.local/bin/msg @@ -58,11 +58,7 @@ while getopts 'X:sS:m:D:bh' flag; do ACTION_DONE=true ;; m) - echo "" | mail \ - -a 'Content-Type: text/plain; charset=UTF-8' \ - -a 'From:bot@euandre.org' \ - -s "$OPTARG" \ - eu@euandre.org ||: + echo "" | email -s "$OPTARG" eu@euandre.org ACTION_DONE=true ;; D) -- cgit v1.3