|
From: | Yuan MEI |
Subject: | How to use `~/.authfile' for POP account |
Date: | Wed, 10 Aug 2005 01:24:05 +0800 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
My solution is (defun passwd-from-authinfo (machine) (let* ((x (gnus-parse-netrc "~/.authinfo")) (y (gnus-netrc-machine x machine)) (z (gnus-netrc-get y "password"))) z)) and (pop :server "foo.com" :user "bar" :password (passwd-from-authinfo "foo.com")) Is there any ``Official'' solution to this? Since smtp and imap could utilize `.authfile' directly. -- Yuan MEI
[Prev in Thread] | Current Thread | [Next in Thread] |