std-odoo
97ca45e4f3
[IMP] mail, mass_mailing: store the bounce email and allow the user to read it
...
Purpose
=======
The bounce emails aren't stored in Odoo, which can complicate the
debugging of the email sending.
Now, we store this bounce email, and we allow the user to read it from
the interface, so he can easily find the issue when an email sending
fail.
Specifications
==============
The bounce email is stored on the mail notification for standard emails
sending, and on the mailing traces when using mass mailing.
For some email providers (e.g. Yahoo), the "Final-Recipient" header is
not present. Normally, it allows us to retrieve the original recipient
of the email which bounced and then the partner. So if this header is
not there in a bounce email, we take the first recipient of the parent
<mail.message>.
Change the way that we parse the email body, for the bounce email.
For most email providers, the first mail body is the one that contains
the error and the next one contains the parent email body. So, the
current logic might ignore this body for Outlook and Yahoo.
Task-2116296
closes odoo/odoo#105923
Related: odoo/enterprise#34051
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com >
2023-03-06 17:47:29 +01:00
..
2023-03-06 15:18:54 +01:00
2023-02-23 14:54:44 +01:00
2023-01-27 17:29:16 +01:00
2023-03-03 19:10:10 +01:00
2023-02-01 10:25:01 +01:00
2023-03-05 20:04:00 +01:00
2023-02-24 18:16:00 +01:00
2023-01-26 19:56:07 +01:00
2023-02-17 19:30:40 +01:00
2023-02-24 11:11:32 +01:00
2023-03-05 15:12:57 +01:00
2023-02-16 14:13:32 +01:00
2023-02-28 18:08:12 +01:00
2023-02-28 18:08:12 +01:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-02-16 14:13:32 +01:00
2023-01-25 16:36:53 +01:00
2023-03-03 17:04:49 +01:00
2023-03-03 17:05:13 +01:00
2023-02-01 10:25:01 +01:00
2023-02-15 10:14:42 +01:00
2023-01-27 21:10:16 +01:00
2023-02-21 21:08:02 +01:00
2023-02-09 19:07:08 +01:00
2023-02-21 21:08:00 +01:00
2023-03-05 15:12:57 +01:00
2023-01-27 23:17:35 +01:00
2023-03-06 17:47:18 +01:00
2023-02-01 10:25:01 +01:00
2023-02-24 13:16:56 +01:00
2023-03-02 18:18:56 +01:00
2023-02-22 20:25:43 +01:00
2023-02-16 14:13:32 +01:00
2023-02-03 06:06:23 +01:00
2023-03-05 15:12:54 +01:00
2023-03-02 19:24:45 +01:00
2023-03-02 19:24:45 +01:00
2023-03-05 15:12:54 +01:00
2023-02-14 13:13:53 +01:00
2023-03-06 17:47:09 +01:00
2023-02-23 14:53:50 +01:00
2023-03-01 23:28:07 +01:00
2023-03-05 15:12:55 +01:00
2023-03-02 18:18:56 +01:00
2023-02-27 15:00:01 +01:00
2023-03-05 15:12:55 +01:00
2023-03-06 09:14:23 +01:00
2023-02-15 10:14:53 +01:00
2023-03-01 23:28:18 +01:00
2023-03-02 18:18:56 +01:00
2023-02-01 10:25:01 +01:00
2023-03-02 12:32:11 +01:00
2023-01-27 19:56:08 +01:00
2023-03-02 17:12:59 +01:00
2023-02-13 14:05:09 +01:00
2023-03-05 15:12:55 +01:00
2023-02-03 10:25:00 +01:00
2023-02-23 16:08:20 +01:00
2023-03-02 17:13:03 +01:00
2023-03-05 15:12:55 +01:00
2023-02-16 09:01:07 +01:00
2023-02-17 12:07:48 +01:00
2023-01-31 12:55:49 +01:00
2023-03-06 13:13:16 +01:00
2023-03-05 15:12:54 +01:00
2023-03-05 20:04:00 +01:00
2023-02-17 19:30:40 +01:00
2023-03-03 19:10:01 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-03-02 19:24:45 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-03-01 18:43:01 +01:00
2023-03-01 18:43:01 +01:00
2023-03-01 18:43:01 +01:00
2023-03-02 16:00:53 +01:00
2023-01-27 14:03:35 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-03-05 15:12:54 +01:00
2023-02-28 18:08:15 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-16 17:57:09 +01:00
2023-03-02 19:24:45 +01:00
2023-02-01 14:37:50 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-27 11:47:10 +01:00
2023-02-27 11:47:11 +01:00
2023-02-27 11:47:11 +01:00
2023-02-06 09:20:56 +01:00
2023-02-17 19:30:40 +01:00
2023-03-03 19:10:10 +01:00
2023-03-03 19:10:10 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-01 13:30:46 +01:00
2023-02-23 11:33:52 +01:00
2023-03-02 21:56:53 +01:00
2023-02-01 10:25:01 +01:00
2023-02-17 19:30:40 +01:00
2023-02-24 10:06:18 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-23 16:08:26 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-22 11:42:03 +01:00
2023-02-22 21:37:41 +01:00
2023-02-01 14:37:50 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-23 11:33:55 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-17 19:30:40 +01:00
2023-02-24 11:11:32 +01:00
2023-02-08 13:27:58 +01:00
2023-03-06 17:47:29 +01:00
2023-01-27 19:56:03 +01:00
2023-03-05 15:12:54 +01:00
2023-03-06 17:47:29 +01:00
2023-01-26 22:09:53 +01:00
2023-01-26 22:09:53 +01:00
2023-02-21 19:08:09 +01:00
2023-02-21 21:07:34 +01:00
2023-02-17 11:01:42 +01:00
2023-02-04 10:45:02 +01:00
2023-03-05 15:12:54 +01:00
2023-02-27 17:07:54 +01:00
2023-03-01 17:01:17 +01:00
2023-03-05 15:12:57 +01:00
2023-03-03 17:05:07 +01:00
2023-03-03 17:05:07 +01:00
2023-03-02 16:01:28 +01:00
2023-02-08 12:25:52 +01:00
2023-02-16 14:13:32 +01:00
2023-02-24 18:16:00 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-24 18:16:00 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-17 14:09:43 +01:00
2023-02-24 18:16:00 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-24 18:16:00 +01:00
2023-03-05 15:12:54 +01:00
2023-03-06 14:15:27 +01:00
2023-03-05 15:12:56 +01:00
2023-03-05 15:12:57 +01:00
2023-02-27 09:37:12 +01:00
2023-02-27 09:37:12 +01:00
2023-01-25 08:18:01 +01:00
2023-02-27 09:37:12 +01:00
2023-02-07 16:38:34 +01:00
2023-02-28 18:08:18 +01:00
2023-02-27 09:37:12 +01:00
2023-03-02 11:23:42 +01:00
2023-01-25 16:37:10 +01:00
2023-02-27 09:37:12 +01:00
2023-02-07 16:38:34 +01:00
2023-02-27 09:37:12 +01:00
2023-02-07 16:38:34 +01:00
2023-03-05 15:12:57 +01:00
2023-02-13 15:15:09 +01:00
2023-02-01 10:25:01 +01:00
2023-03-06 15:18:48 +01:00
2023-03-05 15:12:54 +01:00
2023-03-05 15:12:54 +01:00
2023-03-05 15:12:54 +01:00
2023-02-03 14:23:02 +01:00
2023-03-05 15:12:57 +01:00
2023-03-03 18:10:57 +01:00
2023-02-13 15:15:34 +01:00
2023-02-16 14:13:32 +01:00
2023-03-06 15:18:48 +01:00
2023-03-03 17:05:43 +01:00
2023-03-01 17:01:03 +01:00
2023-03-02 19:24:45 +01:00
2023-02-22 20:25:16 +01:00
2023-03-05 15:12:57 +01:00
2023-02-01 10:25:01 +01:00
2023-03-05 15:12:54 +01:00
2023-02-24 10:06:06 +01:00
2023-02-17 16:45:15 +01:00
2023-02-03 11:45:19 +01:00
2023-02-23 18:29:02 +01:00
2023-02-23 09:30:49 +01:00
2023-03-05 15:12:54 +01:00
2023-02-22 20:26:07 +01:00
2023-02-03 11:45:19 +01:00
2023-03-03 18:10:57 +01:00
2023-02-13 15:15:08 +01:00
2023-03-02 17:13:34 +01:00
2023-02-03 05:09:05 +01:00
2023-03-01 17:01:03 +01:00
2023-03-03 20:10:57 +01:00
2023-03-03 19:10:10 +01:00
2023-03-03 19:10:10 +01:00
2023-03-03 19:10:20 +01:00
2023-03-06 13:13:11 +01:00
2023-03-02 16:01:02 +01:00
2023-01-26 19:56:04 +01:00
2023-02-03 07:07:08 +01:00
2023-01-26 19:56:04 +01:00
2023-03-05 15:12:57 +01:00
2023-03-03 17:05:43 +01:00
2023-02-22 15:39:02 +01:00
2023-02-17 19:30:40 +01:00
2023-02-21 21:07:11 +01:00
2023-02-01 10:25:01 +01:00
2023-03-01 17:01:03 +01:00
2023-02-21 17:02:06 +01:00
2023-03-06 17:47:29 +01:00
2023-02-23 14:53:50 +01:00
2023-02-13 22:46:41 +01:00
2023-03-06 17:47:29 +01:00
2023-02-03 10:25:00 +01:00
2023-03-02 19:24:45 +01:00
2023-02-28 13:01:36 +01:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-02-24 11:11:40 +01:00
2023-03-01 17:01:03 +01:00
2023-03-06 15:18:48 +01:00
2023-03-03 23:27:47 +01:00
2023-02-24 11:11:32 +01:00
2023-02-28 20:38:50 +01:00
2023-02-21 00:47:34 +01:00
2023-03-06 13:13:22 +01:00
2023-03-06 13:13:14 +01:00
2023-01-27 23:17:35 +01:00
2023-03-01 23:28:27 +01:00
2023-02-10 15:44:24 +01:00
2023-02-17 09:50:50 +01:00
2023-02-17 09:50:50 +01:00
2023-03-02 19:24:45 +01:00
2023-02-17 09:50:50 +01:00
2023-02-03 10:25:00 +01:00
2023-02-08 08:30:52 +01:00
2023-03-02 19:24:45 +01:00
2023-03-03 15:56:48 +01:00
2023-03-06 17:47:09 +01:00
2023-02-08 15:39:08 +01:00
2023-02-10 14:37:30 +01:00
2023-02-28 20:38:49 +01:00
2023-02-07 16:38:23 +01:00
2023-02-28 19:08:59 +01:00
2023-02-24 18:16:11 +01:00
2023-03-03 15:56:49 +01:00
2023-03-03 17:05:22 +01:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-03-02 19:24:45 +01:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-02-15 10:14:47 +01:00
2023-01-27 23:17:35 +01:00
2023-02-13 14:05:09 +01:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-03-06 17:47:09 +01:00
2023-02-03 11:45:30 +01:00