Hallo zusammen,
versuche mails mit meiner outlook.com Adresse zu verschicken.
Bekomme folgende Fehlermeldung:
Could not connect to SMTP Host smtp-mail.outlook.com Port 587
SslHandshakeExcepiton: Handshake failed
Folgende Konfig habe ich eingetragen:
SMTP Server: smtp-mail.outlook.com
Port: 587
SSL: Ja
Benutzername und Passwort stimmen.
Ich vermute, dass EgiGeoZone evtl. das gewünschte TSL/ SSL Protokoll nicht unterstützt?
Mit anderen Mail Programmen geht es ohne Probleme.
Auszug aus dem Logfile:
ERROR::de.egi.geofence.geozone.SendMail::de.egi.geofence.geozone.SendMail$LongOperation]
- Error: Could not connect to SMTP host: smtp-mail.outlook.com, port: 587
javax.mail.MessagingException: Could not connect to SMTP host: smtp-mail.outlook.com, port: 587;
nested exception is:
javax.net.ssl.SSLHandshakeException: Handshake failed
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:310)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)
at de.egi.geofence.geozone.SendMail$LongOperation.doInBackground(SendMail.java:140)
at de.egi.geofence.geozone.SendMail$LongOperation.doInBackground(SendMail.java:135)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: javax.net.ssl.SSLHandshakeException: Handshake failed
at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:429)
at com.android.org.conscrypt.OpenSSLSocketImpl.waitForHandshake(OpenSSLSocketImpl.java:682)
at com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:644)
at com.sun.mail.smtp.SMTPTransport.initStreams(SMTPTransport.java:1449)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1366)
... 14 more
Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7f9077e1c0: Failure in SSL library, usually a protocol error
error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER (external/boringssl/src/ssl/tls_record.c:192 0x7f8ca26f76:0x00000000)
at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357)
... 18 more
2017-01-16 11:47:43,446 - [INFO::de.egi.geofence.geozone.SendMail::de.egi.geofence.geozone.SendMail$LongOperation] - in onPostExecute
2017-01-16 11:47:55,770 - [DEBUG::de.egi.geofence.geozone.MainEgiGeoZone::de.egi.geofence.geozone.MainEgiGeoZone] - onCreate
2017-01-16 11:47:55,839 - [DEBUG::de.egi.geofence.geozone.MainEgiGeoZone::de.egi.geofence.geozone.MainEgiGeoZone] - servicesConnected
2017-01-16 11:47:55,842 - [INFO::de.egi.geofence.geozone.MainEgiGeoZone::de.egi.geofence.geozone.MainEgiGeoZone] - servicesConnected result from Google Play Services: Location Services ist verfügbar
2017-01-16 11:47:55,851 - [DEBUG::de.egi.geofence.geozone.MainEgiGeoZone::de.egi.geofence.geozone.MainEgiGeoZone] - onConnected - location: xxxxxxxxxxxxxxxx
2017-01-16 11:47:58,006 - [DEBUG::de.egi.geofence.geozone.MainEgiGeoZone::de.egi.geofence.geozone.MainEgiGeoZone] - onNavigationItemSelected: menu_item_settings
2017-01-16 11:47:59,928 - [INFO::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - onOptionsItemSelected: menu_log
2017-01-16 11:48:12,028 - [INFO::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - onOptionsItemSelected: menu_send_log
2017-01-16 11:48:12,030 - [ERROR::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - ******************************************
2017-01-16 11:48:12,033 - [ERROR::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - EgiGeoZone: 2.1.4
2017-01-16 11:48:12,034 - [ERROR::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - Device name: OnePlus ONEPLUS A3003
2017-01-16 11:48:12,035 - [ERROR::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - Device brand: OnePlus
2017-01-16 11:48:12,036 - [ERROR::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - Android version: 7.0 (REL)
2017-01-16 11:48:12,037 - [ERROR::de.egi.geofence.geozone.Settings::de.egi.geofence.geozone.Settings] - ******************************************