Permalink
Browse files

fix:Python3.7 Bug,邮件发送存在问题

  • Loading branch information...
OhYee committed Dec 4, 2018
1 parent b652b6d commit 5b87407276ba3078a869ac342aaa68ec836acf3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 OBlog/blueprint/comments/sendEmail.py
@@ -11,7 +11,7 @@ def localSMTP():


def thirdSMTP(_host, _user, _password, _port=25):
smtpObj = smtplib.SMTP_SSL()
smtpObj = smtplib.SMTP_SSL(_host, _port)
print("connecting...")
smtpObj.connect(_host, _port)
print("loging...")

0 comments on commit 5b87407

Please sign in to comment.