From: Harry Putnam <reader@newsguy.com>
To: ding@gnus.org
Subject: Re: howto have nnimap setup for smtp out
Date: Mon, 25 Jan 2021 17:20:03 -0500 [thread overview]
Message-ID: <87zh0w7j70.fsf@local.lan> (raw)
In-Reply-To: <87r1mfvbnj.fsf@gmail.com>
Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Wed, 20 Jan 2021 10:21:45 -0500, Harry Putnam <reader@newsguy.com> said:
>
> Harry> emacs-version 28
> Harry> Been using several nnimap entries similar to this one.
> Harry> From .gnus
>
> Harry> (add-to-list 'gnus-secondary-select-methods
> Harry> '(nnimap "hputnam3"
> Harry> (nnimap-address "imap.gmail.com")))
>
> Harry> I had heavy duty idiotic accident involving losing my hosts I normally
> Harry> use for mail.
>
> Harry> I'm having a heck of a time getting a mail server setup. Started with
> Harry> sendmail but never got it to work, then switched to postfix and still
> Harry> have not gotten a working setup.
>
> Harry> Consequently if I try to send a message using the nnimap groups
> Harry> It tries to go out with a non existent mail server and fails.
>
> Harry> How can I make any messages I create in nnimap groups go out to gmails
> Harry> smtp servers?
>
> Harry> I mean is there code I can add to my nnimap entries that will send any
> Harry> messages direct to gmail servers? Maybe something like the smtp code
> Harry> people use on windows with gnus or the like.
>
> Sending email from gnus using smtp is entirely separate from imap. Iʼd
> recommend something like
>
> (setq send-mail-function smtpmail-send-it
> smtpmail-smtp-server "smtp.gmail.com"
> smtpmail-stream-type tls
> smtpmail-smtp-service 465
> user-mail-address "yourusername@gmail.com")
>
I tried that out with these changes:
(setq send-mail-function smtpmail-send-it
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-stream-type tls
smtpmail-smtp-service 465
user-mail-address "hputnam3@gmail.com")
> (this is of course assuming you want to send as
> yourusername@gmail.com)
>
> Robert
next prev parent reply other threads:[~2021-01-25 22:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-20 15:21 Harry Putnam
2021-01-20 16:03 ` Robert Pluim
2021-01-25 22:20 ` Harry Putnam [this message]
2021-01-25 22:42 ` Clemens Schüller
2021-01-25 23:37 ` Malcolm Purvis
2021-01-25 23:47 ` Harry Putnam
2021-01-26 17:49 ` Clemens Schüller
2021-01-25 23:37 ` Harry Putnam
2021-01-26 2:53 ` Harry Putnam
2021-01-26 10:10 ` Robert Pluim
2021-01-20 16:04 ` Adam Sjøgren
2021-01-20 16:12 ` dick.r.chiang
2021-01-26 17:05 ` Harry Putnam
2021-01-26 17:48 ` Robert Pluim
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=87zh0w7j70.fsf@local.lan \
--to=reader@newsguy.com \
--cc=ding@gnus.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).