Hi
I am having indent problems when pasting into console/
def sendmail(content):
mail = smtplib.SMTP('smtp.gmail.com',587)
mail.ehlo() ##<- (first indent error)
If I take it out of the function it works OK.
Thanks (first day problems) p.s. already replaced tabs with spaces