From: "Huajian.Luo" <huajian.luo@qq.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Emacs can't send mail to office365 with "An unexpected TLS packet was received."
Date: Fri, 28 Jun 2019 11:00:54 +0800 [thread overview]
Message-ID: <tencent_20AE05D5E26276BD5EAA375450F37E097C08@qq.com> (raw)
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
next reply other threads:[~2019-06-28 3:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-28 3:00 Huajian.Luo [this message]
2019-07-02 19:08 ` Emacs can't send mail to office365 with "An unexpected TLS packet was received." Herbert J. Skuhra
-- strict thread matches above, loose matches on Subject: below --
2019-06-28 3:04 huajian Luo
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=tencent_20AE05D5E26276BD5EAA375450F37E097C08@qq.com \
--to=huajian.luo@qq.com \
--cc=help-gnu-emacs@gnu.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).