python发送邮件显示这样,请问怎么处理?谢谢 5
Traceback(mostrecentcalllast):File"D:\hello-world.py\youjian4.py",line18,in<module>wa...
Traceback (most recent call last):
File "D:\hello-world.py\youjian4.py", line 18, in <module>
wangyimail.login(account,password)
File "D:\下载\lib\smtplib.py", line 723, in login
(code, resp) = self.auth(
File "D:\下载\lib\smtplib.py", line 635, in auth
(code, resp) = self.docmd("AUTH", mechanism + " " + response)
TypeError: can only concatenate str (not "bytes") to str 展开
File "D:\hello-world.py\youjian4.py", line 18, in <module>
wangyimail.login(account,password)
File "D:\下载\lib\smtplib.py", line 723, in login
(code, resp) = self.auth(
File "D:\下载\lib\smtplib.py", line 635, in auth
(code, resp) = self.docmd("AUTH", mechanism + " " + response)
TypeError: can only concatenate str (not "bytes") to str 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询