Its been a long search for me to get this thing working. Not because of dearth of sample settings around, but because it took me a while to get my search terms right.
;; settings for reading mails
(setq rmail-pop-password-required t)
(setq rmail-primary-inbox-list (quote ("pop://email@example.com")))
(setq user-mail-address "your email address")
;; (setq rmail-preserve-inbox t)
;; (setq rmail-movemail-flags nil)
;; (setq rmail-movemail-program "/usr/lib/emacs/22.1/i486-linux-gnu/movemail")
;; (setq rmail-pop-password "guess my password")
;; settings to handle attachments in rmail
(defun metamail-message ()
(metamail-buffer (get-buffer-create "*Metamail output*")))
;; settings for sending mails
(setq send-mail-function 'smtpmail-send-it
smptmail-starttls-credentials '(("smtp.server" 25 nil nil))
'(("smtp.server" 25 "email address" nil))
;; (expand-file-name "~/.authinfo")
;; must learn to properly setup ~/.authinfo soon
;; smtpmail-smtp-service 25 ;; defaults to 25
hm, still, I seem to be missing something or the other in the ~/.authinfo entries. Every entry that I saw on the Internet, I tried that out. I should be missing on some format of the entry to be made, I suppose.
Next, gotta see how to setup IMAP with RMAIL.
Then there is gnus to be conquered. But that will wait for a while. Gotta get other things straight here.
Since a few seniors such as RMS intend to use RMAIL and don’t intend to change to any other mail reader, gotta see what is in RMAIL. But a very simple mail reader, RMAIL is.