all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: florian@fsavigny.de (Florian v. Savigny)
To: Albino Biasutti Neto <bitfoss@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem with Rmail
Date: Thu, 28 Mar 2013 06:45:34 -0400	[thread overview]
Message-ID: <E1ULAKq-0004B5-1X@eggs.gnu.org> (raw)
In-Reply-To: <1364428710.29519.YahooMailNeo@web161602.mail.bf1.yahoo.com> (message from Albino Biasutti Neto on Wed, 27 Mar 2013 16:58:30 -0700 (PDT))


Albino,

writing/sending and receiving/reading emails are two (even more
accurately, four) separate things in Emacs (if you use Rmail, that
is). For writing, you use mail-mode (which you invoke by calling M-x
mail); for sending, you need to configure a program that sends it - it
can be the Emacs library smtpmail.el, which should, however, be
replaced by smtpmail-auth.el. But you can also use an external program
such as sendmail or procmail.

Try: 

C-h i Emacs m Mail Sending

For receiving mail, you equally have a host of options. Emacs itself
can download mail from POP hosts (I do not know about IMAP); see Emacs
info node 33.19. But you can also use an external program such as
fetchmail, which is required to store the mail locally in a spool
file, from where rmail in turn will move it to its "inbox".

Rmail is only used to read the mail (and sort it and so on). It is
invoked by typing M-x rmail, and will read your primary inbox, which
must be set in your .emacs configuration file (but there is also a
default, which I do not quite remember). When you answer an email from
within Rmail ("r" - "rmail-reply"), this in fact pops up a buffer and
invokes mail-mode, so this is where the circle closes.

As you will have noticed, getting mail and rmail to run can involve a
certain amount of tinkering, and also going through the manuals. Also,
it is the oldest way to handle mail, and pretty basic in its
functionality. 

(It is curious, by the way, that you can install rmail separately. 
Normally, it should come as a part of Emacs.)

Of course I cannot even guess why you think Rmail is
better for *you*, but from my point of view, the advantages are that

- you can program your own extensions around it, which I have done
  quite a lot, and I now rely on them (that is of course something
  which is possibly with any Emacs library, but in this case I can
  confirm it is feasible)

- you can use etach to strip attachments, which reduces the size of
  mail files by magnitudes (even though etach is no longer actively
  maintained, it still works)

- you can use more than one mail file (even though this also means
  some modest amount of programming)

If none of these is of particular interest to you, it seems likely to
me that other packages would be more covenient. Emacs alone has at
least two others (mh and gnus).

Hope this helps you a bit further.

Best regards,

Florian




  reply	other threads:[~2013-03-28 10:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27 23:58 Problem with Rmail Albino Biasutti Neto
2013-03-28 10:45 ` Florian v. Savigny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-11 23:29 Albino B Neto
2006-03-07 10:40 Problem with rmail luca.spinacci

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=E1ULAKq-0004B5-1X@eggs.gnu.org \
    --to=florian@fsavigny.de \
    --cc=bitfoss@yahoo.com \
    --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.