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

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

Re: Emacs can't send mail to office365 with "An unexpected TLS packet wa


From: Herbert J. Skuhra
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
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.0 Mule/6.0 (HANACHIRUSATO)

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



reply via email to

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