From: Steven Arntson <steven@stevenarntson.com>
To: info-gnus-english@gnu.org
Subject: Re: sending mail
Date: Thu, 13 Mar 2014 19:48:29 -0700 [thread overview]
Message-ID: <87d2hpmr5u.fsf@stevenarntson.com> (raw)
In-Reply-To: <87eh25ejdc.fsf@moondust.localdomain>
Thanks so much for this. I copied the init lines you provided and replaced with my specs, kept a few
lines of my original, and presto, I successfully sent an email. I don't know why it
works yet, but it does work, which is my Gnus Victory for today!
best,
steven
nljlistbox2@gmail.com (N. Jackson) writes:
> At 23:58 -0300 on Tuesday 2014-03-11, Steven Arntson wrote:
>
>> 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'm a beginning user of Gnus too, but I do have a couple of ideas about
> what might be wrong with your set up.
>
>> ;; 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
>
> I don't see you telling smtpmail which user account to log in
> with. Also, if the SMTP server is on a port other than 25, then I think
> you have to specify that too.
>
> On the other hand, maybe it can get that information from your
> .authinfo file -- I still haven't figured that out. My password is
> certainly being retreived from my .authinfo file, so I don't really see
> why everything can't be retrieved from there at the same time!
>
> FWIw, I have this:
>
> (setq message-send-mail-function 'smtpmail-send-it
> smtpmail-smtp-server "smtp.gmail.com"
> smtpmail-default-smtp-server "smtp.gmail.com"
> smtpmail-smtp-service 587 ; TCP Port.
> smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
> smtpmail-auth-credentials '(("smtp.gmail.com" 587 "my_user_name@gmail.com" nil))
> )
>
> I don't seem to need a (require 'sendmail).
>
> For the TLS, I have this:
>
> (setq starttls-use-gnutls t
> starttls-gnutls-program "gnutls-cli"
> )
>
> I hope some of this helps!
>
> N.
next prev parent reply other threads:[~2014-03-14 2:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2014-03-12 2:58 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=87d2hpmr5u.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).