diff options
author | jao <jao@gnu.org> | 2025-09-18 20:43:25 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-09-18 20:43:25 +0100 |
commit | 595ac617f49645ebc4d875ce913b61b3e15fb427 (patch) | |
tree | c22f2a854ad2fadf5237620b071eb09c64b3ebf7 /custom | |
parent | a2398e49d14e8558fc5676b80331b7c2d44cdd38 (diff) | |
download | elibs-595ac617f49645ebc4d875ce913b61b3e15fb427.tar.gz elibs-595ac617f49645ebc4d875ce913b61b3e15fb427.tar.bz2 |
email tweaks (msmtp for mac)
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-email.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/custom/jao-custom-email.el b/custom/jao-custom-email.el index aaaf856..534b342 100644 --- a/custom/jao-custom-email.el +++ b/custom/jao-custom-email.el @@ -180,7 +180,7 @@ (when (require 'randomsig nil t) (define-key message-mode-map (kbd "C-c s") 'randomsig-replace-sig) (define-key message-mode-map (kbd "C-c S") 'randomsig-select-sig) - (setq randomsig-dir (expand-file-name "~/etc/config/emacs")) + (setq randomsig-dir gnus-home-directory) (setq randomsig-files '("signatures.txt")) ;; or (setq randomsig-files (randomsig-search-sigfiles)) ;; or (setq randomsig-files 'randomsig-search-sigfiles) @@ -219,12 +219,14 @@ (defun jao-sendmail-msmtp () (setq send-mail-function 'sendmail-send-it - sendmail-program "/usr/bin/msmtp" + sendmail-program (executable-find "msmtp") mail-specify-envelope-from t message-sendmail-envelope-from 'header mail-envelope-from 'header)) -(jao-when-linux (jao-sendmail-local)) +(jao-d-l + (jao-sendmail-msmtp) + (jao-sendmail-local)) ;;; bbdb ;; (jao-load-path "bbdb/lisp") |