Next: Attachments and MIME-parts, Previous: Images, Up: The message view   [Contents][Index]


5.5 Links ¶

Many e-mail messages contain (hyper) links for URLs, typically pointing to web-addresses (http:/https:) and e-mail addresses (mailto:).

You can “follow” these links in mu4e using M-x mu4e-view-go-to-url or save them in the kill-ring using M-x mu4e-view-save-url. The user-interface for these commands depends on whether you are viewing the message in “plain-text” or HTML-mode:

  • HTML: choose links through Emacs’ completion interface (as per completing-read / completing-read-multiple)
  • Plain text: the view shows indicators like [1], [2] next to the link when you invoke M-x mu4e-view-go-to-url or M-x mu4e-view-save-url, and you choose one in the mini-buffer
    • If you always want to see these indicators (the pre-1.14.3 behavior), set mu4e-view-always-show-url-indicators to non-nil.
    • If you prefer to use the completion-interface as used for the HTML-view also for the plain-text view, set mu4e-view-always-use-completion to non-nil.

You can exclude links using mu4e-view-ignore-links, see its docstring. By default “no-reply” links are ignored.

E-mail-addresses are handled through browse-url-mail, which (when using mu4e) means that you are presented with a window to compose a message to the given address.

For other kinds of addresses, mu4e uses browse-url; the exact behavior can be configured (see (emacs)Browse-URL); typically this launches some web-browser, visiting the address.

Both mu4e-view-go-to-url and mu4e-view-save-url also accept a prefix-argument (C-u), and allow for handling multiple links at once. You can do so by selecting multiple, separated by some character. Typically, the separator is a comma, but if there is a comma in one of the URLs, mu4e picks some other character; the prompt shows which.


Next: Attachments and MIME-parts, Previous: Images, Up: The message view   [Contents][Index]