Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
message-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit dd45ed58
authored
2020-07-15 20:43:27 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
se Agrega tolerancia de fallo en mail
1 parent
208f1120
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
services.py
services.py
View file @
dd45ed5
...
@@ -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)
try
:
self
.
Envio
(
msg
,
info
)
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
):
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment