Search 1.9 billion lines of Odoo code on GitHub

mass_mailing_mail_server

Author: ACSONE SA/NV,Odoo Community Association (OCA)
License: AGPL-3
Branch: 14.0-mass_mailing_mail_server-mle
Repository: acsone/server-tools
Dependencies: base, and mass_mailing
Languages: HTML (358, 70.5%), Python (46, 9.1%), XML (29, 5.7%), and reStructuredText (75, 14.8%)

<h1 class="title">Mass Mailing Mail Server</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-tools/tree/14.0/mass_mailing_mail_server"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-mass_mailing_mail_server"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/149/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>You can give to all mail servers a minimum number of recipients. On a mass mailing, if you don't provide a mail server, Odoo will chose the first one for which the minimum number of recipients on it is less than or equal to the number of recipients of your mass mailing.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <p>You can add a minimum number of recipients on a <code>ir.mail_server</code> record (new field in form view).</p> <p>Then, when you send a mass mailing, if no mail server is specified on it, Odoo will search for the first mail server that fits the condition, and use it. As an example, consider that you define the following servers, in this order:</p> <ul class="simple"> <li>Server A, minimum number of recipients : 10000;</li> <li>Server B, minimum number of recipients : 1000;</li> <li>Server C, minimum number of recipients : 100;</li> <li>Server D, minimum number of recipients : 10;</li> <li>Server E, minimum number of recipients : 0 (default value)</li> </ul> <p>If you don't specify a mail server on the mass mailing, when sending it, Odoo will compute the number of remaining recipients (using standard method <code>_get_remaining_recipients()</code> from mass mailing module). He will then use</p> <ul class="simple"> <li>Server A, for a number of recipients at least 10000;</li> <li>Server B, for a number of recipients between 1000 and 9999;</li> <li>Server C, for a number of recipients between 100 and 999;</li> <li>Server D, for a number of recipients between 10 and 99;</li> <li>Server E, for a number of recipients less than 10.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20mass_mailing_mail_server%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>ACSONE SA/NV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Marie Lejeune &lt;<a class="reference external" href="mailto:marie.lejeune&#64;acsone.eu">marie.lejeune&#64;acsone.eu</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id6">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/14.0/mass_mailing_mail_server">OCA/server-tools</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>