Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Used mu4e setting to decide moving draft to sent folder #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions mu4e-send-delay.el
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,10 @@ than current time and is not currently being edited."
(message-remove-header "fcc" nil)
(message-remove-header mu4e-send-delay-header nil)

;; write mail to Sent-folder
(when file
(write-file file))
;; write mail to Sent-folder if set in mu4e
(when (eq mu4e-sent-messages-behavior 'sent)
(when file
(write-file file)))

(set-buffer-modified-p nil)
(kill-buffer (current-buffer))
Expand Down