all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo)
To: help-gnu-emacs@gnu.org
Subject: Re: Mail avec emacs24
Date: Thu, 30 Apr 2015 11:38:39 -0400	[thread overview]
Message-ID: <87lhh9occg.fsf@yale.edu> (raw)
In-Reply-To: 55415FC4.2020907@voo.be

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.




      parent reply	other threads:[~2015-04-30 15:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29 22:48 Mail avec emacs24 Rossi Xavier
2015-04-30  3:52 ` Pierre Lorenzon
2015-04-30  5:43   ` Glyn Millington
2015-04-30 15:54     ` Hubert Chathi
2015-04-30 19:17       ` Glyn Millington
     [not found]   ` <mailman.1983.1430374054.904.help-gnu-emacs@gnu.org>
2015-04-30 14:59     ` Rusi
2015-04-30 15:38 ` Jorge A. Alfaro-Murillo [this message]

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=87lhh9occg.fsf@yale.edu \
    --to=jorge.alfaro-murillo@yale.edu \
    --cc=help-gnu-emacs@gnu.org \
    /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.