]> TLD Linux GIT Repositories - tld-builder.git/blob - client/smtpwrapper.py
- show full time and date in HTML queue, drop filtering by requester
[tld-builder.git] / client / smtpwrapper.py
1 #! /usr/bin/python3
2
3 # As omta segfaults and rest is so huge and does't work out of box
4 # mailer="./smtpwrapper.py" or whatever path is
5
6 smtp_host = "beauty.ant.vpn"
7
8 import smtplib,sys
9
10 msg = sys.stdin.read()
11
12 server = smtplib.SMTP(smtp_host)
13 # server.set_debuglevel(1)
14 server.sendmail("ti-admins@tld-linux.org","builder-src@tld-linux.org", msg) # Adresses should be taken from .requestrc
15 server.quit()
16