[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mail avec emacs24
From: |
Jorge A. Alfaro-Murillo |
Subject: |
Re: Mail avec emacs24 |
Date: |
Thu, 30 Apr 2015 11:38:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Rossi Xavier writes:
Je suis un peu novice avec emacs24. J'aimerais cependant
l'utiliser comme client mail.
Compte pop3 et smtp.
Si vous avez des astuces et conseil, merci d'avance.
Gnus. Gnus is to mail and news readers what emacs is to text
editors.
To give you an example, to use gmail with IMAP as an example, you
just have to add this to your .emacs:
#+BEGIN_SRC emacs-lisp
(setq gnus-select-method
'(nnimap "gmail" (nnimap-address "imap.gmail.com"))
#+END_SRC
And you are good to go, just do M-x gnus.
To not be asked for your username and password, create a file
~/.authinfo.gpg with the contents:
#+BEGIN_EXAMPLE
machine imap.gmail.com login your_username password
your_password port 993
machine smtp.gmail.com login your_username password
your_password port 587
#+END_EXAMPLE
Save it, emacs will encrypt it, ask you for a new password, and
from then on, gnus will only ask you the new password once per
session.
To understand how gnus deals with mail, copy this in your scratch
buffer
#+BEGIN_EXAMPLE
(info "(gnus) Mail in a Newsreader")
#+END_EXAMPLE
Go to the end of the line and hit C-j
This covers the basics:
http://koldfront.dk/text/gnus-email-basic-usage.html
Best,
--
Jorge.
Re: Mail avec emacs24,
Jorge A. Alfaro-Murillo <=