equal
deleted
inserted
replaced
137 s.ehlo() |
137 s.ehlo() |
138 s.starttls() |
138 s.starttls() |
139 s.ehlo() |
139 s.ehlo() |
140 if (starttls or smtps) and verifycert: |
140 if (starttls or smtps) and verifycert: |
141 ui.note(_('(verifying remote certificate)\n')) |
141 ui.note(_('(verifying remote certificate)\n')) |
142 sslutil.validator(ui, mailhost)(s.sock, verifycert == 'strict') |
142 sslutil.validatesocket(s.sock, verifycert == 'strict') |
143 username = ui.config('smtp', 'username') |
143 username = ui.config('smtp', 'username') |
144 password = ui.config('smtp', 'password') |
144 password = ui.config('smtp', 'password') |
145 if username and not password: |
145 if username and not password: |
146 password = ui.getpass() |
146 password = ui.getpass() |
147 if username and password: |
147 if username and password: |