112
112
'smtp', self._smtp_server, self._smtp_username)
114
114
# smtplib requires that the username and password be byte
117
118
if isinstance(self._smtp_username, unicode):
119
120
if isinstance(self._smtp_password, unicode):
122
123
self._connection.login(self._smtp_username, self._smtp_password)