- Mailing Lists
- Contributors
- Re: [37226] Imap Sent Mails
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: [37226] Imap Sent Mails
- Odoo logs sent emails in its internal database (
mail.mailmodel). - These emails can be viewed within Odoo under Messaging > Emails or inside records like Sales Orders, Invoices, and Support Tickets.
- However, these emails are not stored in an external IMAP mail folder.
No Configurable IMAP Folder for Sent Emails:
- Traditional email clients (e.g., Thunderbird, Outlook) allow users to specify an IMAP folder where sent emails should be saved.
- Odoo does not provide an option to configure an external IMAP folder for storing sent messages.
Use an SMTP Server That Automatically Copies Sent Mail to IMAP ("Sent" Folder)
- Some SMTP providers (e.g., Gmail, Office 365) automatically store a copy of outgoing emails in the "Sent" folder when sending via SMTP.
- If using Postfix, you can configure it to BCC outgoing emails to an IMAP mailbox.
Postfix Example (Adding BCC for Sent Emails):
sudo nano /etc/postfix/main.cf
Add: sender_bcc_maps = hash:/etc/postfix/bcc_mapCreate the BCC mapping file:
sudo nano /etc/postfix/bcc_map
Add: @yourdomain.com archive@yourdomain.comApply changes:
sudo postmap /etc/postfix/bcc_map
sudo systemctl restart postfixUse Odoo's "Aliases" Feature to Auto-Forward Sent Emails to an IMAP Folder
- You can create an email alias in Odoo to automatically forward sent emails to a dedicated IMAP folder.
- This workaround requires configuring mail forwarding on the SMTP server.
Custom Odoo Module to Append Emails to IMAP "Sent" Folder
- A custom Odoo module could be developed to use IMAP's APPEND command to store outgoing messages in a specified folder.
Test the above workarounds and share the knowledge.
Let me know if you, or somebody else, like to receive the workaround for Microsoft Exchange example.
Office Everywhere
Business Partner Odoo
t: +31 6 53360677
e: mstroom@office-everywhere.com
w: Office-Everywhere.com
LinkedIn profile: https://linkedin.com/in/stroom
On 6 Feb 2025, at 11:53, Frederik Kramer <notifications@odoo-community.org> wrote:Dear OCA, talking to a lead about Sales and Distribution, we again (as many times in the past) again came across Odoos somewhat weired way to reinterpret / resuse traditional E-Mail flows (what we all know, use, and are familiar with by using Imap-Servers / Exchange and some form of E-Mail clients (Outlook / Thunderbird). One of the weird things (among many) is that Odoo (apart from the technical sent mail queue) doesn't make us of the features (store sent mail in an IMAP Folder) as it sents Mail through SMTP but not implements the traditional functionality of an E-Mail client to allow storing such mail in an configurable Imap Folder. By searching a solution for that i came across a 3rd party module https://apps.odoo.com/apps/modules/14.0/base_store_sent_emails I thought to myself that we are certainly not the only ones who have this issue. So my question is. Is it really such an exotic feature that nobody in the OCA ever even ideated on such a functionality or is it worthless (i am simply to conservative to change my mind). Or even better does some publicly available concept, module, code exist that i am just not aware of ? Any thoughts, ideas on that Best and thanks for any reply upfront Frederik -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Michel Stroom - 10:36 - 7 Feb 2025
Reference
-
[37226] Imap Sent Mails
Dear OCA, talking to a lead about Sales and Distribution, we again (as many times in the past) again came across Odoos somewhat weired way to reinterpret / resuse traditional E-Mail flows (what we all know, use, and are familiar with by using Imap-Servers / Exchange and some form of E-Mail clients (Outlook / Thunderbird). One of the weird things (among many) is that Odoo (apart from the technical sent mail queue) doesn't make us of the features (store sent mail in an IMAP Folder) as it sents Mail through SMTP but not implements the traditional functionality of an E-Mail client to allow storing such mail in an configurable Imap Folder. By searching a solution for that i came across a 3rd party module https://apps.odoo.com/apps/modules/14.0/base_store_sent_emails I thought to myself that we are certainly not the only ones who have this issue. So my question is. Is it really such an exotic feature that nobody in the OCA ever even ideated on such a functionality or is it worthless (i am simply to conservative to change my mind). Or even better does some publicly available concept, module, code exist that i am just not aware of ? Any thoughts, ideas on that Best and thanks for any reply upfront Frederik -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247
by Frederik Kramer - 11:45 - 6 Feb 2025