Merge "Fix STARTTLS handshake error in Email's SmtpSender class"

This commit is contained in:
Brian Muramatsu 2012-03-06 17:26:02 -08:00 committed by android code review
commit d5fdf40490

View File

@ -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();
/* /*