Merge "Fix STARTTLS handshake error in Email's SmtpSender class"
This commit is contained in:
commit
d5fdf40490
@ -136,7 +136,7 @@ public class SmtpSender extends Sender {
|
|||||||
* if not.
|
* if not.
|
||||||
*/
|
*/
|
||||||
if (mTransport.canTryTlsSecurity()) {
|
if (mTransport.canTryTlsSecurity()) {
|
||||||
if (result.contains("-STARTTLS")) {
|
if (result.contains("STARTTLS")) {
|
||||||
executeSimpleCommand("STARTTLS");
|
executeSimpleCommand("STARTTLS");
|
||||||
mTransport.reopenTls();
|
mTransport.reopenTls();
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user