[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smtp outlook.com
From: |
Zaam Wu |
Subject: |
Re: smtp outlook.com |
Date: |
Mon, 15 Feb 2016 17:30:57 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Zaam Wu <zaamwu@outlook.com> writes:
>
>> 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
>
> So it connects fine, but then hangs up. So it probably doesn't want to
> talk to you? Do you have the proper login credentials?
I am sure my login credentials are right. This is my authinfo.gpg:
```
machine imap-mail.outlook.com login my-mail@outlook.com password my-pass port
993
machine smtp-mail.outlook.com login my-mailoutlook.com password my-pass port 587
```
After reading this post: http://stackoverflow.com/a/22898098. I
add a function to gnus.el:
```
(defun gnutls-available-p ()
"Function redefined in order not to use built-in GnuTLS support"
nil)
```
Now the sending log from *Message* buffer:
```
Sending via mail...
Opening TLS connection to `smtp-mail.outlook.com'...
Opening TLS connection with `gnutls-cli --insecure -p 587
smtp-mail.outlook.com'...failed
Opening TLS connection with `gnutls-cli --insecure -p 587 smtp-mail.outlook.com
--protocols ssl3'...failed
Opening TLS connection with `openssl s_client -connect
smtp-mail.outlook.com:587 -no_ssl2 -ign_eof'...done
Opening TLS connection to `smtp-mail.outlook.com'...done
network-stream-command: Process smtpmail not running
Decrypting /home/zachary/.emacs.d/gnus/authinfo.gpg...done
```
And the trace buffer:
```
Process smtpmail exited abnormally with code 1
```
--
你好!
Hello, world!