Prevent archiving in-use mail servers by displaying an error message that lists where it is still used, allowing to easily identify what need to be updated before being able to archive the mail server. Additionally, - prevent the use of archived server as a fall-safe - when duplicating a mailing with an archived mail server, replace mail server by the default one Detailed explanation: 1. A check has been added that raise an exception when trying to connect to the smtp server or send an email when the server is archived. With that solution, - testing the connection of an archived server displays an error telling that an archived server cannot be used. - if a mail is still sent with an archived server, mail are in error : "Connection failed (outgoing mail server problem)" This fail-safe ensures that no mail will be sent through an archived mail server and that the user will get some feedback about it. The same fail-safe for the incoming mail server has been added. Notes: - the connection will outlive the archiving of a mail server still allowing to send email through the archived server until the connection is closed. But connection are not kept for long so this shouldn't be a problem. - it cannot be tested because the connect method return immediately in test mode. 2. When a mail server is archived, an user error is raised if it is in-use. The implementation relies on each module to override the method "_active_usages_compute" in "ir_mail_server" to complete the list with user-friendly message describing the active elements that could send mail through the mail server. This has been implemented for: - l10n_it_edi: server used to send e-invoice - mail: optional server configured for template - mass_mailing: -- default mail server -- active server configured for mailing Mail server are referenced in other elements but are not active anymore, it is just for temporary or history purpose. Those references doesn’t prevent the archiving of the mail server: - mail_message - wizard survey_invite and compose_message - res_config_settings Task-2821516 closes odoo/odoo#91240 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Odoo Mass Mailing
Easily send mass mailing to your leads, opportunities or customers with Odoo Email Marketing. Track marketing campaigns performance to improve conversion rates. Design professional emails and reuse templates in a few clicks.
Send Professional Emails
Import database of prospects or filter on existing leads, opportunities and customers in just a few clicks.
Define email templates to reuse content or specific design for your newsletter. Setup several email servers with their own IP/domain to optimise opening rates.
Organize Marketing Campaigns
Design, Send, Track by Campaigns with our Lead Automation app.
Get real time statistics on campaigns performance to improve your conversion rate. Track mails sent, received, opened and answered.
Easily manage your marketing campaigns, discussion groups, leads and opportunities in one simple and powerful platform.
Integrated with Odoo Apps
Get access to mass mailing features from every Odoo app to improve the way your users communicate.
Send template of emails from Odoo CRM opportunities, select leads based on marketing segments, send job offers and automate answers to applicants, reuse email template in the lead automation marketing campaigns.
Answers to your emails appears automatically in the history of every document with the social network module.
Clean Your Lead Database
Get a clean lead database that improves over the time using the performance of your mails. Odoo handle bounce mails efficiently, flag erroneous leads accordingly and gives you statistics on the quality of your leads.
One click emails send
The marketing department will love working on campaigns. But you can also give a one click mass mailing facility to all others users on their own prospects or documents.
Select a few documents (e.g. leads, support tickets, suppliers, applicants, ...) and send emails to their contacts in one click, reusing existing emails templates.
Follow-up On Answers
The chatter feature enables you to communicate faster and more efficiently with your customer. Get documents created automatically (leads, opportunities, tasks, ...) based on answers to your mass mailing campaigns Follow the discussion directly on the business documents within Odoo or via email.
Get all the negotiations and discussions attached to the right document and relevent managers notified on specific events.
Campaigns Dashboard
Get the insights you need to make smarter marketing campaign. Track statistics per campaign: bounce rates, sent mails, best content, etc. The clear dashboards gives you a direct overview of your campaign performance.
Fully Integrated With Others Apps
Define automated actions (e.g. ask a salesperson to call, send an email, ...) based on triggers (no activity since 20 days, answered a promotional email, etc.)
Optimize campaigns from lead to close, on every channel. Make smarter decisions about where to invest and show the impact of your marketing activities on your company's bottom line.
Integrate a contact form in your website easily. Forms submissions create leads automatically in Odoo CRM. Leads can be used in marketing campaigns.
Manage your sales funnel with no effort. Attract leads, follow-up on phone calls and meetings. Analyse the quality of your leads to make informed decisions and save time by integrating emails directly into the application.