Suppose I have a gmail account, say foo@gmail.com with a password: foopassword.

  • What are the simplest steps to go through, to read my emails?
  • Does it make any difference whether I'm using Windows or Linux?

Have you looked in the documentation for it? There's a whole chapter about rmail in the Emacs manual: https://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail.html#Rmail (you can also access this and other manuals from within Emacs by typing C-h i).

I've never used rmail before, but from reading the first few paragraphs I can tell you that the only difference between Windows and Linux that matters will be the way that rmail finds and runs the movemail command. On Linux it will probably find it on its own, but on Windows you'll probably have to configure the variable rmail-movemail-program or rmail-movemail-search-path to tell it where to find it.

  • Actually I read the documentation, and other resources on the web, but nothing worked, I just want a simple plain example to start with. – Bite Bytes Dec 4 '18 at 8:19
  • 2
    You'll probably have to ask more specific questions then, with specific details of what you've tried and how it failed ("nothing worked" isn't going to get you anywhere). It should be as simple as setting the variable rmail-primary-inbox-list to a list with one string in it, where that string contains the url to your IMAP server. Something like this: (setq rmail-primary-inbox-list '("imaps://username:password@your-imap-server")) and then running rmail with M-x rmail. – db48x Dec 4 '18 at 15:37
  • That's what I entend to do. – Bite Bytes Dec 4 '18 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.