Remove host= from sending mail
This commit is contained in:
parent
cf010254e6
commit
48b55259d4
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def send_email(name, md5, filename, username):
|
|||
msg['From'] = sender
|
||||
msg['To'] = recepients
|
||||
try:
|
||||
s = smtplib.SMTP(host='bastion.fedoraproject.org')
|
||||
s = smtplib.SMTP()
|
||||
s.sendmail(sender, recepients, msg.as_string())
|
||||
except:
|
||||
syslog.syslog('sending mail for upload of %s failed!' % filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue