From: Robert Pluim <rpluim@gmail.com>
To: Harry Putnam <reader@newsguy.com>
Cc: ding@gnus.org
Subject: Re: howto have nnimap setup for smtp out
Date: Tue, 26 Jan 2021 11:10:10 +0100 [thread overview]
Message-ID: <87pn1suhz1.fsf@gmail.com> (raw)
In-Reply-To: <878s8g4ddu.fsf@local.lan> (Harry Putnam's message of "Mon, 25 Jan 2021 21:53:49 -0500")
>>>>> On Mon, 25 Jan 2021 21:53:49 -0500, Harry Putnam <reader@newsguy.com> said:
Harry> Some of you here will likely be a bit relieved to know that I finally
Harry> managed to get something working.
Harry> I failed utterly at getting sendmail or postfix or exim4 to get mail
Harry> relayed at a Smarthost or smtp relay host. I mean to say that was
Harry> some rough slogging too.
Harry> And now I utterly failed to get anywhere dinking around with
Harry> smtp.gmail. But finally I managed to get the smtpmail-send-it code to
Harry> work with another mail outfit where I've had creds for several years
Harry> even though I was unable to get any of the big 3 mail software to get
Harry> relayed thru them.
Harry> what finally worked:
Harry> (setq send-mail-function 'smtpmail-send-it
Harry> smtpmail-smtp-server "smtp.xxxxxxx.com"
Harry> smtpmail-stream-type 'ssl
Harry> smtpmail-smtp-service 465
Harry> user-mail-address "xxxxxx@xxxxxxxx.com")
Ah, what I sent you had a missing ', sorry about that.
Harry> So I can finally reach the internet with my email.
Harry> One thing I keep pondering though is that, OK, I kind of understand
Harry> what happens after mail reaches the relay point or relaying
Harry> smtp.server. But I'm not understanding what gets it that far.
Harry> since I broke out on sendmail, postfix and exim4, I have no mta running,
Harry> so not clear to me how messages are getting to the smtp.server in the
Harry> code above.
Emacs is making a tls/smtp connection to your smtp.xxxxxxxx.com
server, and delivering the email to it, essentially functioning like
sendmail/postfix etc
Robert
next prev parent reply other threads:[~2021-01-26 10:10 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
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 [this message]
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=87pn1suhz1.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=ding@gnus.org \
--cc=reader@newsguy.com \
/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).