[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 回复: How to use rmail.el on windows
From: |
Robert Thorpe |
Subject: |
Re: 回复: How to use rmail.el on windows |
Date: |
Mon, 13 Mar 2017 00:53:00 +0000 |
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]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: 回复: How to use rmail.el on windows,
Robert Thorpe <=