From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Herbert J. Skuhra" Newsgroups: gmane.emacs.help Subject: Re: Emacs can't send mail to office365 with "An unexpected TLS packet was received." Date: Tue, 02 Jul 2019 21:08:11 +0200 Message-ID: <87tvc4xnj8.wl-herbert@gojira.at> References: Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="188096"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.0 Mule/6.0 (HANACHIRUSATO) To: "help-gnu-emacs" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 02 21:55:46 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hiOsU-000mk9-CP for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Jul 2019 21:55:46 +0200 Original-Received: from localhost ([::1]:56792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiOsT-0006Sc-DB for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Jul 2019 15:55:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48619) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiO9S-0002y2-PP for help-gnu-emacs@gnu.org; Tue, 02 Jul 2019 15:09:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiO9R-0004Ol-7V for help-gnu-emacs@gnu.org; Tue, 02 Jul 2019 15:09:14 -0400 Original-Received: from mail.bsd4all.net ([144.76.30.122]:20392) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hiO9G-0003pR-7s for help-gnu-emacs@gnu.org; Tue, 02 Jul 2019 15:09:05 -0400 Original-Received: from lap01.home.lan (unknown [IPv6:2a02:1748:dd1d:d91:5d57:fa70:7f6f:ce82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail.bsd4all.net (Postfix) with ESMTPSA id 45dYfg6PY8z8Hv for ; Tue, 2 Jul 2019 21:08:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail201809; t=1562094492; bh=XiHWVB9rWbxr88VoW4GYjB7eebdB1+MnltezHVFpvGo=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=kVga8bJGlnTnAchIYaZCrBJVsEOJr1FnAixGngcemwTmZj3k8nyDTkL7spM1zY78D YxABHv6pCEkoxV1CcawubVhJf9Y7LF/nPUY21hzumjAQaMkcq7yUEsOXnBt+IZeYO3 JmFkzf313I/C5pXO3CtE2JfAExxDU4SE52FjsNcs74dIewV0eEBDUzIq/p9PjfH1Uk 0QzMwqF8aZKr/pNDsbTITxyvs4/GVF34gura7fV+VfJr+Mks5Abcicqj1UtpnDW431 J9XSt4DZinwlH5O86ztqhouOBk+6CcIa8QrJfgUKJpLo15qEH98Kxz257X0d67nE47 uZ5Ho/g/ShzUQ== In-Reply-To: X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 144.76.30.122 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121092 Archived-At: On Fri, 28 Jun 2019 05:00:54 +0200, "Huajian.Luo" wrote: > > 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 > ) Does it work if use (setq smtpmail-stream-type 'starttls)? -- Herbert