Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adrián Ribao
Cartero
Commits
06c02b28
Commit
06c02b28
authored
Oct 24, 2016
by
Adrián Ribao
Browse files
fail silently sending emails
parent
9e01e588
Pipeline
#401
passed with stage
in 1 minute and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cartero/utils/sending.py
View file @
06c02b28
...
...
@@ -82,7 +82,7 @@ class CampaignDeliver(object):
def
send_to_contact
(
self
,
contact
):
msg
=
self
.
compose_email
(
contact
)
msg
.
send
()
msg
.
send
(
fail_silently
=
True
)
contact
.
sent
=
True
contact
.
save
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment