mail['To'] = inscripto.mail
mail['Reply-To'] = conf.get('mail', 'admin')
mail['Return-Path'] = conf.get('mail', 'admin')
- mail['X-Mailer'] = 'sercom 0.3'
+ mail['X-Mailer'] = 'sercom ' + sercom.VERSION
mail['X-Priority'] = '5'
smtp = smtplib.SMTP(conf.get('mail', 'smtp'))
smtp.sendmail(mail['From'], mail['To'], mail.as_string())