diff --git a/controle_adhesion/main.py b/controle_adhesion/main.py index 909c146..09b6738 100755 --- a/controle_adhesion/main.py +++ b/controle_adhesion/main.py @@ -97,6 +97,7 @@ def setup_workdir(): os.mkdir(WORKDIR+"/refuse") def sendmail(headers, data): + print("***\nHEADERS: {}\n***\n".format(headers)) msg = bytes(headers + "\n", 'utf-8') + quopri.encodestring(bytes(data, 'utf-8')) subprocess.run([SENDMAIL_LOCATION, "-t", "-oi"], input=msg)