all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Thorpe <rt@robertthorpeconsulting.com>
To: 张军峰 <hengaini2055@qq.com>,
	help-gnu-emacs@gnu.org, "Eli Zaretskii" <eliz@gnu.org>
Subject: Re: 回复: How to use rmail.el on windows
Date: Mon, 13 Mar 2017 00:53:00 +0000	[thread overview]
Message-ID: <87a88qatg3.fsf@robertthorpeconsulting.com> (raw)
In-Reply-To: <tencent_2677B9362E6D854F08FA077B@qq.com> (hengaini2055@qq.com)

I don't know why this is happening.  Nor why you're getting the error
you mentioned in your previous message.

Someone else on the help-gnu-emacs list may know.  Perhaps Eli Zaretskii
has a suggestion, since I know he uses both Rmail and MS Windows.

It's possible that your Emacs was built with the switch "--without-pop"
which means that the movemail command doesn't include the POP3 capability.

BR,
Robert Thorpe


"张军峰" <hengaini2055@qq.com> writes:

> [1:text/plain Hide]
>
> I tested so many times, as follows:
>
>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail  -p 'pop://hengaini2055@pop.qq.com:995' Test.mbox password
>
>
> movemail  -p 'pop://hengaini2055@pop.qq.com:995' Test.mbox password
> movemail: Invalid argument for 'pop://hengaini2055@pop.qq.com:995'
>
>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail -p
> movemail -p
> Usage: movemail [-p] [-r] inbox destfile [POP-password]
>
>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail -p 'pop://hengaini2055@pop.qq.com:995' Test.mbox 'password'
> movemail -p 'pop://hengaini2055@pop.qq.com:995' Test.mbox 'password'
> movemail: Invalid argument for 'pop://hengaini2055@pop.qq.com:995'
>
>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail -p 'pop://hengaini2055@163.177.72.198:995' Test.mbox 'password'
> movemail -p 'pop://hengaini2055@163.177.72.198:995' Test.mbox 'password'
> movemail: Invalid argument for 'pop://hengaini2055@163.177.72.198:995'
>
>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail -p 'pop://hengaini2055@163.177.72.198' Test.mbox 'password'
> movemail -p 'pop://hengaini2055@163.177.72.198' Test.mbox 'password'
> movemail: Invalid argument for 'pop://hengaini2055@163.177.72.198'
>
>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail -p 'pop://hengaini2055@pop.gmail.com' Test.mbox 'password'
> movemail -p 'pop://hengaini2055@pop.gmail.com' Test.mbox 'password'
> movemail: Invalid argument for 'pop://hengaini2055@pop.gmail.com'
>
>
> d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail -p pop://smith:guessme@remote.server.net Test.mbox 'password'
> movemail -p pop://smith:guessme@remote.server.net Test.mbox 'password'
> movemail: Invalid argument for pop://smith:guessme@remote.server.net
>
>
>
>   In my mail server, I have set POP3 Service opened:
>   -----------------------------------------------------------------------------------------------
> POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV Service
> Options:
> POP3/SMTP Service
> opened |  close
>
> IMAP/SMTP Service
> closed  |  open
>
> Exchange Service
> closed  |  open
>
> CardDAV/CalDAV Service
> opened |  close
>
> (POP3/IMAP/SMTP/CardDAV/CalDAVservice support SSL Link )
>
>
>
>  --------------------------------------------------------------------------------------------
>
>
> Thank you again.
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Robert Thorpe";<rt@robertthorpeconsulting.com>;
> 发送时间: 2017年3月12日(星期天) 凌晨3:07
> 收件人: "张军峰"<hengaini2055@qq.com>; 
>
> 主题: Re: How to use rmail.el on windows
>
>
>
> "张军峰" <hengaini2055@qq.com> writes:
>
>> [1:text/plain Hide]
>>
>> Thank you!
>>    I use https://github.com/bbatsov/prelude as my emacs configuration, so I add following code in personal/custom.el:
>>
>>
>>    (setq rmail-primary-inbox-list
>>    '("pop://hengaini2055:password@pop.qq.com:995"))
>>
>>
>>    When I M-x rmail, I get the following message:
>>
>>
>>    Empty Rmail file.    Getting mail from the remote server ...
>>     movemail: Error connecting to POP server: Could not determine POP server's address
>>     (No new mail has arrived)
>>     0 new messages read
>>     No mail. [2 times]
>
> Your Elisp looks correct.  Rmail works by running the program "movemail"
> to get mail from the server.  It's useful for debugging to run movemail
> by itself.
>
> From a shell can you run:
>
> movemail -p 'pop://hengaini2055@pop.qq.com:995' Test.mbox password
>
> If this command succeeds then it will create a file called "Test.mbox"
> which will contain your new mail.  If it doesn't succeed then reply here
> with the error message.
>
> BR,
> Robert Thorpe
>
> [2:text/html Show]



           reply	other threads:[~2017-03-13  0:53 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_2677B9362E6D854F08FA077B@qq.com>]

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=87a88qatg3.fsf@robertthorpeconsulting.com \
    --to=rt@robertthorpeconsulting.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hengaini2055@qq.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.