help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs can't send mail to office365 with "An unexpected TLS packet was re


From: huajian Luo
Subject: Emacs can't send mail to office365 with "An unexpected TLS packet was received."
Date: Fri, 28 Jun 2019 03:04:53 +0000

Hi there,
I'm now need use office365 for my working mail, I've set up the configure
file as following, but when I sent mail it complains with this message.
I'm using OpenSuse with emacs version GNU Emacs 25.3.1
(x86_64-suse-linux-gnu) of 2018-10-16. and Gnus v5.13

(setq message-send-mail-function 'smtpmail-send-it
      send-mail-function 'smtpmail-send-it
      smtpmail-auth-credentials
      (expand-file-name "~/.authinfo")
      smtpmail-default-smtp-server "smtp.office365.com"
      smtpmail-smtp-server "smtp.office365.com"
      smtpmail-smtp-service 587
      smtpmail-stream-type  'ssl
      )

=======================================================================================================
gnutls.el: (err=[-15] An unexpected TLS packet was received.) boot:
(:priority NORMAL :hostname smtp.office365.com :loglevel 0 :min-pri\
me-bits 256 :trustfiles (/etc/ssl/ca-bundle.pem) :crlfiles nil :keylist nil
:verify-flags nil :verify-error nil :callbacks nil)
gnutls-negotiate: GnuTLS error: #<process smtpmail>, -15

---------------------------------trace
SMTP----------------------------------------------------------------------------

G2PR0401CA0013.outlook.office365.com Microsoft ESMTP MAIL Service ready at
Fri, 28 Jun 2019 02:46:44 +0000^M
451 4.7.0 Timeout waiting for client input [
SG2PR0401CA0013.apcprd04.prod.outlook.com]^M

Process smtpmail connection broken by remote peer
上一封 下一封
« 返回


reply via email to

[Prev in Thread] Current Thread [Next in Thread]