all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
To: rpluim@gmail.com, Leo.Butler@umanitoba.ca
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem with TLS when sending emails
Date: Wed, 11 May 2022 18:20:33 +0200	[thread overview]
Message-ID: <87czgk59da.fsf@gmail.com> (raw)

Thanks Robert! I changed my init code to

(setq smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 465
      smtpmail-stream-type  'ssl
      smtpmail-debug-info t)

And now it works. A couple of fun facts: indicating as
smtpmail-smtp-service the string "smtps" actually doesn't work, because
my system is not able, apparently, to resolve it. So I had to put the
integer port. Moreover, I also had to add a new line to the
~/.authinfo.gpg file. However, now it properly works. Thank you really
much!

For Leo: thanks for your suggestion, but I'm trying to keep my system as
secure as it's reasonably possible. However, I'll investigate your
suggestion about using Gnus.

Thanks to both!



             reply	other threads:[~2022-05-11 16:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11 16:20 Alessandro Bertulli [this message]
2022-05-11 16:28 ` Problem with TLS when sending emails Robert Pluim
  -- strict thread matches above, loose matches on Subject: below --
2022-05-11 13:28 Alessandro Bertulli
2022-05-11 13:44 ` Robert Pluim
2022-05-11 15:34 ` Leo Butler
2022-05-11 15:44   ` 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=87czgk59da.fsf@gmail.com \
    --to=alessandro.bertulli96@gmail.com \
    --cc=Leo.Butler@umanitoba.ca \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rpluim@gmail.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.
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.