SMTPAuthenticationError: (550, b’User has no permission’) 550 没有开通授权码 解决方法: 1、在QQ邮箱设置-账户,通过短信验证开启相关服务。 2、在163邮箱的设置中开启相关服务