Project

General

Profile

Scénario #10087

Faire marcher l'envoi de mail dans EOP sur EOLE 2.4

Added by Lionel Morin over 9 years ago. Updated over 9 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
01/05/2015
Due date:
01/22/2015
% Done:

100%

Estimated time:
(Total: 15.00 h)
Spent time:
(Total: 11.00 h)
Story points:
5.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release relationship:
Auto

Description

L'envoi de mail provoque l'erreur :

==> /var/log/eoleflask/eop.log <==
2014-12-16 16:53:03,962: eop - Exception on /api/mails/ [POST]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1504, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1264, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1262, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1248, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib/python2.7/dist-packages/eoleauthlib/authclient.py", line 193, in decorated_function
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/flask/views.py", line 151, in dispatch_request
    return meth(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/eop/modules/api/mailsapi.py", line 39, in post
    send_mail(smtp_server=self.serveur, mailFrom=de, mailTo=pour, mailSubject=sujetmail.encode('utf8'), text=corpsmail.encode('utf8'))
  File "/usr/lib/python2.7/dist-packages/eop/utils.py", line 51, in send_mail
    s.sendmail(mailFrom, mailTo, msg.as_string())
  File "/usr/lib/python2.7/smtplib.py", line 734, in sendmail
    (code, resp) = self.data(msg)
  File "/usr/lib/python2.7/smtplib.py", line 502, in data
    (code, msg) = self.getreply()
  File "/usr/lib/python2.7/smtplib.py", line 358, in getreply
    + str(e))
SMTPServerDisconnected: Connection unexpectedly closed: timed out


Subtasks

Tâche #10195: La clé eop.key est générée trop tard lors du premier reconfigure suivant l'installation d'EOPFerméJoël Cuissinat

Tâche #10181: Débugger l'envoi de mail dans EOPFerméLionel Morin

History

#1 Updated by Lionel Morin over 9 years ago

  • Tracker changed from Anomalie to Scénario

#2 Updated by Luc Bourdot over 9 years ago

  • Due date set to 01/22/2015
  • Target version set to sprint 2015 2-4
  • Start date set to 01/05/2015

#3 Updated by Lionel Morin over 9 years ago

  • Subject changed from L'envoi de mail ne fonctionne pas dans EOP sur EOLE 2.4 to Faire marcher l'envoi de mail dans EOP sur EOLE 2.4

#4 Updated by Lionel Morin over 9 years ago

  • Story points set to 5.0

#5 Updated by Joël Cuissinat over 9 years ago

  • Status changed from Nouveau to Terminé (Sprint)
  • Release set to Mises à jour 2.4.1

#6 Updated by Joël Cuissinat over 9 years ago

  • Status changed from Terminé (Sprint) to En cours

#7 Updated by Joël Cuissinat over 9 years ago

  • Status changed from En cours to Terminé (Sprint)

Also available in: Atom PDF