More fixes in sendmail

This commit is contained in:
Antonio de la Rosa 2016-02-09 18:46:08 +01:00
parent adaaa98140
commit 475c11fbda
2 changed files with 2 additions and 7 deletions

View file

@ -12,7 +12,7 @@ from email.mime.text import MIMEText
class SendMail:
port=25
port=587
host='localhost'
@ -50,7 +50,7 @@ class SendMail:
except smtplib.SMTPException as e:
self.txt_error=e.__str__
self.txt_error=e.__str__()
return False