all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Help setting up POP3 email (rmail)
Date: Sat, 27 Feb 2016 01:44:17 +0100	[thread overview]
Message-ID: <87y4a7hti6.fsf@debian.uxu> (raw)
In-Reply-To: KBV-pqA--3-0@tutamail.com

<cptvlaze@tutamail.com> writes:

> ;; Firstly setup SMTP. (require 'smtpmail) (setq
> send-mail-function 'smtpmail-send-it)      
> smtpmail-smtp-server "mail.foomail.com"      
> smtpmail-smtp-service 587       user-mail-address
> "foo@foomail")

Mr. Mastro already mentioned the erroneous right
parenthesis which is what in particular is causing
your problem at this point.

In general it is better to do `setq' for every
variable, i.e.,

    (setq send-mail-function   'smtpmail-send-it)
    (setq smtpmail-smtp-server "mail.foomail.com")
    ;; and so on

The exception to the rule is when the same data
appears in several variables, then you shouldn't have
(for consistency reasons) the data several times but
instead, e.g.,

    (setq gnus-extra-headers   '(To Cc Keywords Gcc Newsgroups X-Spam-Flag)
          nnmail-extra-headers gnus-extra-headers)

(But you can have several setq there as well.)

> ;; The line below puts sent items into
> an mbox file. (setq mail-default-headers "FCC:
> ~/Mail/Sent")

In Gnus you can also have a designated archive group
for sent material, e.g.

    (setq gnus-message-archive-group "nnml:mail.sent")

> ;; This puts my name correctly in email
> To/From lines. (setq user-full-name "Fooname Barname")

We are waiting for that to happen :)

> Ah, and emacs tells me to 'Send Mail via Gnus Mail'.
> I guess this code is for gnus, isn't it?

Gnus can use it but so can Rmail and just
about anything.

So you can focus on getting all data right. Once they
are, you should be a stone-throw away from getting
either Rmail, Gnus, or for that matter any other mail
client to work with just another few lines of
application-specific configuration.

> Thank you for your attention!

Thank us by getting Rmail or Gnus up with at proper
To:, and then use proper citing/quoting in all your
mails, i.e. not top-posting...

-- 
underground experts united
http://user.it.uu.se/~embe8573




  parent reply	other threads:[~2016-02-27  0:44 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 19:21 Help setting up POP3 email (rmail) cptvlaze
2016-02-23 22:41 ` Emanuel Berg
2016-02-24  0:41 ` Robert Thorpe
2016-02-24  2:50   ` Nick Dokos
2016-02-24  3:11     ` Emanuel Berg
2016-02-24 16:41       ` Nick Dokos
2016-02-24 14:38   ` cptvlaze
2016-02-24 14:46     ` tomas
2016-02-24 15:34       ` cptvlaze
2016-02-24 20:16         ` Robert Thorpe
2016-02-24 20:28     ` Robert Thorpe
2016-02-24 23:56       ` Emanuel Berg
2016-02-24 23:47     ` Emanuel Berg
2016-02-26 18:46       ` cptvlaze
2016-02-26 19:57         ` Emanuel Berg
2016-02-26 23:56           ` cptvlaze
2016-02-27  0:06             ` John Mastro
2016-02-27  4:05               ` Emanuel Berg
2016-02-27  8:28                 ` tomas
2016-02-27  9:55                   ` Eli Zaretskii
2016-02-28  2:11                   ` Emanuel Berg
2016-02-28 17:52                     ` Robert Thorpe
2016-02-29  0:20                       ` Gnus (was: Re: Help setting up POP3 email (rmail)) Emanuel Berg
2016-02-29  2:31                         ` Robert Thorpe
2016-03-02  2:28                           ` Emanuel Berg
2016-02-29  0:55                       ` Help setting up POP3 email (rmail) Emanuel Berg
2016-02-29  8:47                         ` tomas
2016-02-27  0:44             ` Emanuel Berg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-27 10:24 Joe Westlaw

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=87y4a7hti6.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --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.