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

* commit 'd163332bc58cb1b2f09fd061e51e50ecbc40eb73':
  Fix STARTTLS handshake error in Email's SmtpSender class
This commit is contained in:
Brian Muramatsu 2012-03-07 02:13:25 -08:00 committed by Android Git Automerger
commit 938ec79ac9

View File

@ -136,7 +136,7 @@ public class SmtpSender extends Sender {
* if not.
*/
if (mTransport.canTryTlsSecurity()) {
if (result.contains("-STARTTLS")) {
if (result.contains("STARTTLS")) {
executeSimpleCommand("STARTTLS");
mTransport.reopenTls();
/*