summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/services/mail_sender.py
diff options
context:
space:
mode:
authorPixpoa pairing <pixpoapairing@pixelated-project.org>2015-01-30 14:10:25 -0200
committerPixpoa pairing <pixpoapairing@pixelated-project.org>2015-01-30 14:10:25 -0200
commitfb7f661648480b16d75a6147605767720be26d00 (patch)
tree55d3d110846f329ee7eaa904ab92ce9792112c90 /service/pixelated/adapter/services/mail_sender.py
parente8e9cbaaa713a1f00ed8d00cb4744d8f4f340f38 (diff)
parentcad4bbf073663db828fa7ac43b27ae00556e2797 (diff)
Merge branch 'message_sending_error_handling'
Diffstat (limited to 'service/pixelated/adapter/services/mail_sender.py')
-rw-r--r--service/pixelated/adapter/services/mail_sender.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/service/pixelated/adapter/services/mail_sender.py b/service/pixelated/adapter/services/mail_sender.py
index 50c17ba5..1c2d7ce1 100644
--- a/service/pixelated/adapter/services/mail_sender.py
+++ b/service/pixelated/adapter/services/mail_sender.py
@@ -35,4 +35,6 @@ class MailSender():
file=StringIO(mail.to_smtp_format()),
deferred=resultDeferred)
- return reactor.connectTCP('localhost', 4650, senderFactory)
+ reactor.connectTCP('localhost', 4650, senderFactory)
+
+ return resultDeferred