Remove host= from sending mail

This commit is contained in:
Jon Stanley 2009-11-21 18:38:56 -05:00
parent cf010254e6
commit 48b55259d4

View file

@ -70,7 +70,7 @@ def send_email(name, md5, filename, username):
msg['From'] = sender msg['From'] = sender
msg['To'] = recepients msg['To'] = recepients
try: try:
s = smtplib.SMTP(host='bastion.fedoraproject.org') s = smtplib.SMTP()
s.sendmail(sender, recepients, msg.as_string()) s.sendmail(sender, recepients, msg.as_string())
except: except:
syslog.syslog('sending mail for upload of %s failed!' % filename) syslog.syslog('sending mail for upload of %s failed!' % filename)