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 a1b694ef
authored
2020-07-19 13:23:23 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Correccion
1 parent
434485df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
services.py
services.py
View file @
a1b694e
...
@@ -127,12 +127,9 @@ class Mail(ServiceBase):
...
@@ -127,12 +127,9 @@ class Mail(ServiceBase):
host
=
info
[
"smtp"
][
"host"
]
host
=
info
[
"smtp"
][
"host"
]
except
:
except
:
host
=
False
host
=
False
try
:
if
host
==
"MAILMASIVO"
:
if
host
==
"MAILMASIVO"
:
res
=
n
=
self
.
sendGrid
(
info
[
"smtp"
],
data
)
res
=
n
=
self
.
sendGrid
(
info
[
"smtp"
],
data
)
return
(
res
)
return
(
res
)
except
:
return
(
False
)
res
=
self
.
_sendClasico
(
data
,
stadomail
)
res
=
self
.
_sendClasico
(
data
,
stadomail
)
return
(
res
)
return
(
res
)
...
...
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