From: "João Pedro" <jpedrodeamorim@gmail.com>
To: torys.anderson@gmail.com
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Dynamically switching send-mail settings
Date: Thu, 11 Apr 2024 16:51:25 -0300 [thread overview]
Message-ID: <87y19jisoy.fsf@ergo> (raw)
In-Reply-To: 878ufwotot.fsf@gmail.com
Hi Tory and all,
Do you still remember how you managed to fix this particular issue? I
know its been quite a while, but I've started to get a similar issue
which I supposed is caused by what Lars suggested, that the SMTP server
(Gmail) is closing the connection. I could provide some more details of
my setup to help understand what's going on, but I get the following
message:
gnutls.el: (err=[-15] An unexpected TLS packet was received.) boot: (:priority NORMAL:%DUMBFW :hostname smtp.gmail.com :loglevel 0 :min-prime-bits nil :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
and, with `smtpmail-debug-info' and `smtpmail-debug-verb' both set to
`t', I get the following messages in the trace buffer:
smtp.gmail.com ESMTP a6-20020a170902ecc600b001e45c0d6ce6sm1531247plh.306 - gsmtp
502-5.5.1 Unrecognized command. For more information, go to
502 5.5.1 https://support.google.com/a/answer/3221692 a6-20020a170902ecc600b001e45c0d6ce6sm1531247plh.306 - gsmtp
...
451-4.4.2 Timeout - closing connection.
451-4.4.2 For more information, go to
451 4.4.2 https://support.google.com/a/answer/3221692 a6-20020a170902ecc600b001e45c0d6ce6sm1531247plh.306 - gsmtp
Process smtpmail<10> connection broken by remote peer
I don't know why it is closing the connection, or how to tell
smtpmail.el to close the connection after some time. It isn't stopping
me from sending emails, but it is quite bothersome to have that popup on
my echo area from time to time...
--
João Pedro de A. Paula
IT bachelors at Universidade Federal do Rio Grande do Norte (UFRN)
reply other threads:[~2024-04-11 19:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y19jisoy.fsf@ergo \
--to=jpedrodeamorim@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=torys.anderson@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).