Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Steven Arntson <steven@stevenarntson.com>
To: info-gnus-english@gnu.org
Subject: sending mail
Date: Tue, 11 Mar 2014 19:58:43 -0700	[thread overview]
Message-ID: <87vbvkm8bg.fsf@stevenarntson.com> (raw)

I'm a beginning user of gnus, trying to use it to send emails, with the
command "m." I compose, and then send with C-c C-c, and it looks like
it's working, but then the system hangs and times out. I don't know what
I'm doing, and am not too familiar with elisp beyond cutting and pasting
code from the emacswiki. I'd very much appreciate any help! Here's my
.gnus.el, anonymized:


;; My Gnus init

(setq gnus-select-method '(nntp "news.gwene.org"))
(add-to-list 'gnus-secondary-select-methods '(nnml ""))
(add-to-list 'gnus-secondary-select-methods
                  '(nnmbox ""
                    (nnmbox-mbox-file "~/MAIL")
                    (nnmbox-active-file "~/Mail.active")))
(setq mail-sources '((pop :server "my.usual-server.com" :user "me@mydomain.com")))

(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "my.usual-server.com") ; needs to be specified before the (require)
 (require 'smtpmail)
 (setq smtpmail-local-domain "mydomain.com")
 (setq smtpmail-sendto-domain "mydomain.com")
 (setq user-full-name "My Name")
 (setq user-mail-address (concat "me@" smtpmail-local-domain))
 (setq smtpmail-debug-info t) ; only to debug problems

             reply	other threads:[~2014-03-12  2:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12  2:58 Steven Arntson [this message]
     [not found] <mailman.17012.1394593516.10748.info-gnus-english@gnu.org>
2014-03-14  0:03 ` N. Jackson
2014-03-14  2:48   ` Steven Arntson

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=87vbvkm8bg.fsf@stevenarntson.com \
    --to=steven@stevenarntson.com \
    --cc=info-gnus-english@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).