am d5fdf404: Merge "Fix STARTTLS handshake error in Email\'s SmtpSender class"

* commit 'd5fdf40490033bbafbd946e92094b18e931c1a76':
  Fix STARTTLS handshake error in Email's SmtpSender class
This commit is contained in:
Brian Muramatsu 2012-03-07 02:09:18 -08:00 committed by Android Git Automerger
commit d163332bc5

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