all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Dynamically switching send-mail settings
@ 2024-04-11 19:51 João Pedro
  0 siblings, 0 replies; 7+ messages in thread
From: João Pedro @ 2024-04-11 19:51 UTC (permalink / raw)
  To: torys.anderson; +Cc: Emacs developers

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)

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Dynamically switching send-mail settings (WAS: > 24.3 can't send mail)
@ 2015-02-08 21:49 Robert Thorpe
  2015-02-09  2:54 ` Dynamically switching send-mail settings Tory S. Anderson
       [not found] ` <mailman.19558.1423450457.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Robert Thorpe @ 2015-02-08 21:49 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: help-gnu-emacs

torys.anderson@gmail.com (Tory S. Anderson) writes:

> And, at that, it freezes with the final line in my message buffer until I C-g to safety. Any ideas why it freezes at this point, having done the dynamic setting correctly? Note that I've successfully sent with this account today before I started working on the dynamic switching, so I know the settings are otherwise correct. Below are the functions I'm using: 

One of the peculiarities of gmail is that if you're using it over IMAP,
POP and SMTP.  It limits the number of transactions you can do with it
per day.  People who are having problems with their config often hit
this limit while experimenting.

However, AFAIK it only applies to receive operations (i.e. IMAP & POP),
not to SMTP.  Maybe I'm wrong about that though.  Regardless your setup
may magically start working tomorrow.

BR,
Robert Thorpe



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-11 19:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 19:51 Dynamically switching send-mail settings João Pedro
  -- strict thread matches above, loose matches on Subject: below --
2015-02-08 21:49 Dynamically switching send-mail settings (WAS: > 24.3 can't send mail) Robert Thorpe
2015-02-09  2:54 ` Dynamically switching send-mail settings Tory S. Anderson
     [not found] ` <mailman.19558.1423450457.1147.help-gnu-emacs@gnu.org>
2015-02-09  5:03   ` Lars Magne Ingebrigtsen
2015-02-09 12:18     ` Tory S. Anderson
2015-02-18  1:20       ` Lars Ingebrigtsen
2015-02-18  2:10         ` Tory S. Anderson
2015-04-15 16:08       ` Lars Magne Ingebrigtsen

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.