[mew-int 01286] sorting outgoing emails
Axel G. Rossberg
axel at example.com
Thu Feb 27 01:15:54 JST 2003
Hi!
One reason I am using MEW is that I found a way for it to keep copies
of outgoing emails in the same folders as incoming emails from the
recipient would go.
(1) Is this feature available as an easy option already?
(2) If not, here is what I do:
[ Mew version 3.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) ]
(defun my-mew-save-draft-maybe ()
(if (y-or-n-p "Save this message? ")
(save-excursion
(let ((buf (current-buffer)))
(setq learn-info (mew-refile-decide-folders buf nil nil nil ))
(setq folders (car learn-info))
(mew-refile-guess-learn buf learn-info)
(beginning-of-buffer)
(next-line 3)
(while folders
(mew-draft-header-insert mew-fcc: (car folders))
(setq folders (cdr folders)) )
))))
(add-hook 'mew-send-hook 'my-mew-save-draft-maybe)
You might want to add this or something similar as an option.
(3) In the function my-mew-save-draft-maybe, learning does not seem to
work. How should I do it?
Best regards,
Axel
More information about the Mew-int
mailing list