From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Newsgroups: gmane.emacs.help Subject: Re: Mail avec emacs24 Date: Thu, 30 Apr 2015 11:38:39 -0400 Message-ID: <87lhh9occg.fsf@yale.edu> References: <55415FC4.2020907@voo.be> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1430408358 8027 80.91.229.3 (30 Apr 2015 15:39:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2015 15:39:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 30 17:39:10 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YnqYQ-00054i-It for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 17:39:10 +0200 Original-Received: from localhost ([::1]:44570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnqYQ-0002rj-0f for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 11:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnqYA-0002fO-Pc for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 11:38:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnqY6-0003iT-SG for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 11:38:54 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnqY6-0003hc-L8 for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 11:38:50 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YnqY2-0004jQ-I0 for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 17:38:46 +0200 Original-Received: from nat-130-132-173-151.central.yale.edu ([130.132.173.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 17:38:46 +0200 Original-Received: from jorge.alfaro-murillo by nat-130-132-173-151.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 17:38:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-130-132-173-151.central.yale.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:Z5znJ9iOBa0nHNcFTCyTOVwfhCk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104098 Archived-At: 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.