Add the following to your VM configuration file:
(setq mail-default-headers
(concat
"X-Important: special-delivery\n"
"Return-Receipt-To: username@example.com\n"))
Or, another example:
From: John Owens
I wanted to submit my x-face code (actually snarfed from someone else
out there, don't even remember where I picked this up) since I think
it's a little better than the "How do I add X-Whatever ..." you have
(works in emacs mail mode, not just vm mode). Note that it requires
your X-Face in ~/.face.
(defun mail-insert-x-face ()
(save-excursion
(goto-char (point-min))
(search-forward mail-header-separator)
(beginning-of-line nil)
(insert "X-Face:")
(insert-file "~/.face")))
(add-hook 'mail-setup-hook 'mail-insert-x-face)
Add the following to your VM configuration file:
(setq mail-signature t) (setq mail-signature-file "~/.signature")
Matt Simmons (the former BBDB maintainer) has written a random signature package for message-mode, which can be used with VM if you put the following forms in your .vm file:
(setq mail-signature nil) (setq message-signature 'random-signature-fun) (defun my-mail-setup-hook () (message-insert-signature) (mail-to)) (add-hook 'mail-setup-hook 'my-mail-setup-hook)
(Don't forget to download and install the random-signature package.)
From: John Relph
There appear to be some alternate packages available:
There are two possible solutions: