Mu4e: More contextual +mu4e-set-from-address-h
This hook should only be used when users define email aliases, or no contexts are defined (in which case the list of personal addresses should be used). Otherwise, the `:match-func` contexts feature is sufficient.
This commit is contained in:
parent
a75dea6281
commit
2fd89a7eca
2 changed files with 37 additions and 24 deletions
|
@ -169,6 +169,22 @@ Then configure Emacs to use your email address:
|
|||
t)
|
||||
#+END_SRC
|
||||
|
||||
If you use multiple email accounts, defining them with ~set-email-account!~ will
|
||||
automatically set the appropriate account context when replying to emails in
|
||||
that account's maildir. ~mu4e-context-policy~ and ~mu4e-compose-context-policy~
|
||||
can be modified to change context behavior when opening mu4e and composing
|
||||
email:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq mu4e-context-policy 'ask-if-none
|
||||
mu4e-compose-context-policy 'always-ask)
|
||||
#+end_src
|
||||
|
||||
If you send mail from various email aliases for different services,
|
||||
~+mu4e-personal-addresses~ can be set per-context with ~set-email-account!~. If
|
||||
you are not replying to an email to or from one of the specified aliases, you
|
||||
will be prompted for an alias to send from.
|
||||
|
||||
*** Gmail
|
||||
With the =+gmail= flag, integrations are applied which account for the different
|
||||
behaviour of Gmail.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue