generated from Nemesis/Exemple
tabulations
This commit is contained in:
parent
69bcedbd00
commit
90d53f8e0c
1 changed files with 5 additions and 5 deletions
10
asmodee.py
10
asmodee.py
|
@ -1863,7 +1863,7 @@ def envoi_mail(room,event): # envoi des messages aux abonnés par mail
|
|||
except:
|
||||
lmails = []
|
||||
sender = event['sender']
|
||||
body = event['content']['body']
|
||||
body = event['content']['body']
|
||||
for mail in lmails:
|
||||
if (malt == "1"):
|
||||
os.system('echo ' + body + ' | mailx -s ' + sender + ' -r ' + msender + ' ' + mail)
|
||||
|
@ -2034,10 +2034,10 @@ def main():
|
|||
liste_mod = mods
|
||||
|
||||
global malt
|
||||
global msender
|
||||
global mpass
|
||||
global msmtp
|
||||
global mport
|
||||
global msender
|
||||
global mpass
|
||||
global msmtp
|
||||
global mport
|
||||
if ('MAIL' in config):
|
||||
try:
|
||||
malt = config['MAIL']['malt']
|
||||
|
|
Loading…
Reference in a new issue