0

Using the mu4e email package, I can save attachments via A S (save multi). However, this requires that I specify the location for each attachment separately. How can I configure this so that I only have to specify the location once, and all attachments will then be saved there without my needing to pick the same location for each file?

1

Maybe you can try auto-answer.

I don't use mu4e, so the following snippet is just a pseudo-code.

(defun my/mu4e-save-all-attachments (fpath)
  (interactive "D")
  (let ((auto-answer '(("<prompt-regex>" fpath))
    (<mu4e-save-attachement>)))

Each prompt from mu4e will be answered by the first prompted fpath.

0

It turns out this feature is supported by the customization option Mu4e Save Multiple Attachments Without Asking:

If non-nil, saving multiple attachments asks once for a Hide directory and saves all attachments in the chosen directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.