* Re: 回复: How to use rmail.el on windows
[not found] <tencent_2677B9362E6D854F08FA077B@qq.com>
@ 2017-03-13 0:53 ` Robert Thorpe
0 siblings, 0 replies; only message in thread
From: Robert Thorpe @ 2017-03-13 0:53 UTC (permalink / raw)
To: 张军峰, help-gnu-emacs, Eli Zaretskii
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]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-13 0:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <tencent_2677B9362E6D854F08FA077B@qq.com>
2017-03-13 0:53 ` 回复: How to use rmail.el on windows Robert Thorpe
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 read-only IMAP folder(s) and NNTP newsgroup(s).