20 votes
Accepted

How to attach multiple files in `message-mode`?

Open the directory in dired with C-x 4 d and type M-x turn-on-gnus-dired-mode. Then mark the required files with m (or whatever) and type C-c RET C-a. The files can now be attached to an already ...
6 votes
Accepted

How can I easily download/save an attachment in mu4e?

Use e: e runs the command mu4e-view-save-attachment Offer to save attachment(s). If MULTI (prefix-argument) is nil, save a single one, otherwise, offer to save a range of attachments. ...
  • 3,416
5 votes

Difference between C-x m and M-x mail

I know nothing about mail in Emacs, but running C-h k C-x m tells me that C-x m runs the command compose-mail, which is different from mail. This is presumably why they behave differently. You can ...
4 votes

Remove attachments from emails

I found the solution hidden in a closed issue on GitHub (thanks to @mankoff): (defun my-remove-attachment (msg num) "Remove attachment." (let* ((attach (mu4e~view-get-attach msg num)) (...
  • 2,480
3 votes

Remove attachments from emails

The solution given by @tmalsburg worked for me until I switched to the gnus-based message view, which is now the default. Below is my attempt to adapt this solution to the new view mode. Note that I ...
  • 31
3 votes

Save attachments

Ok, nevermind, it's o. Or gnus-mime-save-part
  • 11k
2 votes

Is it possible to attach a local file to org-mode file like PDF?

Org-mode files are plain text, by design, and Org therefore has no native facilities for attaching binary files. (The org-attach family of commands copy the attachment into a subdirectory of the ...
  • 5,550
1 vote

How can I create a link to an outline attachment in Org mode?

The link is dispatched to a wrong handler, which means your org-attach package is probably not loaded yet. You can verify it by inspecting the org-link-parameters variable to check whether the ...
  • 933
1 vote
Accepted

Seeing file names in TODO entries when using org-attach

[Capturing and summarizing the comments as an answer.] Although org-attach does not provide an automatic way to add the list of files in the attachment directory of a headline node to that node ...
  • 21.2k
1 vote
Accepted

Save all attachments to the same directory in mu4e

Update As of 2021 09 10, Save Multi is no longer available. Mu4e has optional support for helm, and that is currently the only way to select multiple attachments to be saved at once. This is fine if ...
  • 20.7k
1 vote

Save all attachments to the same directory in mu4e

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 '(("...
1 vote
Accepted

How to delete mu4e attachment on macOS

If you don't want to compile altermime yourself, you could install it from macports then follow @mankoff recipe.
  • 2,406
1 vote

How to delete mu4e attachment on macOS

My solution (at your link) involved manually installing altermime back when I used OS X. I don't think it was hard. Perhaps only make was required when I tried?
  • 3,948
1 vote
Accepted

org-attach doesn't create :Attachments: property

Just to summarize the exchange in the comments: org-attach-attach used to add an Attachments property up to, and including Org mode version 9.2.4. Since version 9.2.5 (more specifically, since commit ...
  • 21.2k
1 vote

Attaching files in mu4e from the clipboard

this fixes problems with the previous answer: it solves the hang-problem by checking for the correct data type in the clipboard and doing nothing if it is not image/png it saves the image in /tmp - ...
1 vote

Attaching files in mu4e from the clipboard

I wrote this to paste images into mu4e buffers on Linux. (defun my/clip-to-PNG () (interactive) (let ((image-file (concat default-directory "tmp/attach/" (format-time-string "...
  • 3,948
1 vote
Accepted

Encrypt both mail body and attachment with gnus

Turns out C-c RET C p: mml-secure-encrypt-pgpmime is the right tool for that.
  • 509
1 vote
Accepted

wanderlust: save all attachments in a group of messages

I briefly Googled, but did not find an example of a multiple file extract function that I thought I had once read somewhere. I only found a multiple attach example. Here is a simplified version of ...
  • 18k
1 vote

Upload large email attachments to owncloud in mu4e

In elisp: defines URL + destination domain settings run the <select file> emacs process exec the file upload using cadaver/lftp/netrc/... grab/build the destination file-link (may need to use ...
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible