SMTP AUTH extension not supported by server
问题 Using python I want to send email from my app but it shows the error SMTP AUTH extension not supported by server Code for the program, import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText fromaddr = "test1@example.com" toaddr = "test2@example.com" msg = MIMEMultipart() msg['From'] = fromaddr msg['To'] = toaddr msg['Subject'] = "Test Mail" body = "Test mail from python" msg.attach(MIMEText(body, 'plain')) server = smtplib.SMTP('smtp.example.com', 25)