Skip to content

Commit

Permalink
daily commit Thu Sep 20 18:35:28 CST 2012
Browse files Browse the repository at this point in the history
  • Loading branch information
eggcaker committed Sep 20, 2012
1 parent e3bad86 commit 4519a63
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions plugins/pelm-mail.el
Expand Up @@ -79,18 +79,5 @@
(setq mu4e-html2text-command "w3m -dump -T text/html")
(setq w3m-command "/usr/local/bin/w3m")


;; password encrypt
(require 'epa-file)
(epa-file-enable)
(require 'netrc)
(require 'offlineimap)
(setq smtpmail-auth-credentials (expand-file-name "~/.netrc.gpg"))

(defun offlineimap-get-password (host port)
(let* ((netrc (netrc-parse (expand-file-name "~/.netrc.gpg")))
(hostentry (netrc-machine netrc host port port)))
(when hostentry (netrc-get hostentry "password"))))

(provide 'pelm-mail)
;;; pelm-mail.el ends here

0 comments on commit 4519a63

Please sign in to comment.