AttributeError: 'EmailUse' object has no attribute 'SendMail' 错误原因:函数名与模块名重复 解决方案:不要将函数名与模块名重复 不考虑业务场景,一味的争执技术的高下,都是耍流氓。