Commit Graph
10 Commits
Author SHA1 Message Date
Cédric Krier e11a23deb2 Rationalize import path
We use absolute path when imported module is from a different context.
And we remove unnecessary __all__ definition.

issue9466
review323591002
2020-07-21 14:38:36 +02:00
Cédric Krier a9241ac345 Add option to ensure emails are sent
issue9456
review298071002
2020-07-21 14:33:49 +02:00
Sergi Almacellas Abellana 6ac6424d88 Add option to send test email with trytond-admin
issue8983
review274681002
2020-03-18 12:36:48 +01:00
Luciano Rossi (lukio) 8c1aa49492 Add missing Date header on email sent
issue8596
review272091002
2019-08-30 09:08:32 +02:00
Cédric Krier c0c911ba7c Catch all exceptions in sendmail
The connect and sendmail method may raise other exception like OSError or
socket.error

issue8590
review272071002
2019-08-25 12:48:16 +02:00
Cédric Krier 394bbd189b Do not fail on SMTP connection error
We just log the error and process the transaction.

issue7775
review49631002
2018-10-15 22:52:52 +02:00
Cédric Krier d2a461390a Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:19 +02:00
Sergi Almacellas Abellana 5dfd3b0791 Add localhost_name and timeout as get_smtp_server uri parameters
This allows a better customization of the smtp connection

issue6540
review39411002
2017-06-16 09:47:39 +02:00
Sergi Almacellas Abellana 0f5cc535b7 Avoid reading undefined senderrs variable when sendmail fails
issue6535
review41341003
2017-06-01 16:40:29 +02:00
Cédric Krier ba1faa1a76 Add sendmail datamanager
issue5431
review17981002
2016-03-28 22:40:37 +02:00