I have tried to attached a file to the mail using python. Code:
import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIME
I know for sure that gaierror comes up when you are working from behind proxy.