Commit dd45ed58 by Tu Nombre

se Agrega tolerancia de fallo en mail

1 parent 208f1120
...@@ -137,7 +137,11 @@ class Mail(ServiceBase): ...@@ -137,7 +137,11 @@ class Mail(ServiceBase):
msg.attach(MIME) msg.attach(MIME)
succ[file] = True succ[file] = True
#self.s.send_message(msg) #self.s.send_message(msg)
self.Envio(msg,info) try:
self.Envio(msg,info)
except:
print("ROMPIO ALGO EN EL ENVIO")
succ[file] = False
return succ return succ
def Usuario(self, info): def Usuario(self, info):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!