From: "Yuan MEI" <yuan.mei@gmail.com>
Subject: How to use `~/.authfile' for POP account
Date: Wed, 10 Aug 2005 01:24:05 +0800 [thread overview]
Message-ID: <m23bpj3txm.fsf@may.fudan.edu.cn> (raw)
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
next reply other threads:[~2005-08-09 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-09 17:24 Yuan MEI [this message]
2005-08-10 7:01 ` Frank Schmitt
2005-08-15 14:52 ` Yuan MEI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m23bpj3txm.fsf@may.fudan.edu.cn \
--to=yuan.mei@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).