Python通过smtplib发送邮件时报module 'smtplib' has no attribute 'SMTP'解决办法

通过smtplib发送邮件时,报错module 'smtplib' has no attribute 'SMTP'

一个可能的原因的文件的名字是email.py,需要改一个其他的名字就行。


你可能感兴趣的:(Python,Python3,smtplib)