Lars Ingebrigtsen <la...@gnus.org> writes: > Zaam Wu <zaa...@outlook.com> writes: > >> smtpmail-stream-type 'starttls ;; or `ssl' > > It's not a STARTTLS server, so it should be 'tls. >From the help doc, it should be 'ssh.
```Help doc: This may be either nil (possibly upgraded to STARTTLS if possible), or `starttls' (refuse to send if STARTTLS isn't available), or `plain' (never use STARTTLS), or `ssl' (to use TLS/SSL). ``` > >> If smtpmail-stream-type to `ssl', it looks: >> >> ------ smtpmail-stream-type ssl ---------------- >> Sending via mail... >> gnutls.c: [0] (Emacs) fatal error: An unexpected TLS >> packet was received. gnutls.el: (err=[-15] An unexpected TLS >> packet was received.) boot: (:priority NORMAL :hostname >> smtp-mail.outlook.com :loglevel 0 :min-prime-bits 256 :trustfiles >> (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil >> :verify-flags nil :verify-error nil :callbacks nil) >> gnutls-negotiate: GnuTLS error: #<process smtpmail>, -15 Quit > > I think this just means that the server closed the connection. > Probably. Connecting to the server works fine for me: > > LU436-SMTP207.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: > 8.0.9200.16384 ready at Mon, 15 Feb 2016 00:09:39 -0800 Mine is: LU437-SMTP105.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at Mon, 15 Feb 2016 00:54:39 -0800 Process smtpmail connection broken by remote peer -- Hello, world! _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english