Search 1.9 billion lines of Odoo code on GitHub

mail_outbound_static

Author: brain-tec AG, LasLabs, Adhoc SA, Odoo Community Association (OCA)
License: LGPL-3
Branch: 15.0
Repository: ACCOMODATA-BVBA/social
Dependencies: base
Languages: Gencat NLS (67, 6.6%), HTML (367, 36.4%), PO File (48, 4.8%), Python (425, 42.2%), XML (14, 1.4%), and reStructuredText (87, 8.6%)
Other branches: 12.0, 15.0-PR853, 15.0-fix-mail-debrand, 15.0-mig-mail-track-mailgun, 15.0-mig-modules, and 15.0-oca_pr873
Other repositories: Alfa-90/social, BADEP/social, BT-fgarbely/social, CB-Gran-Canaria/social, Change2improve/social, CompassionCH/social, Digital5-Odoo/social, Dobtor-OCA/social, DucTruongKomit/social, ERPLibre/social, ForgeFlow/social, Gabinete-Digital/social, Ingeos/social, Jarsa/social, MathBenTech/social, NeatNerdPrime/social, NextERP-Romania/social, Nooka10/social, OCA-MUK/social, OCA/social, QubiQ/social, RLeeOSI/social, Rad0van/social, SanteLibre/social, SequarSrl/social, SeuMarco/social, SimoRubi/social, SolutionSeekers/social, StefanRijnhart/social, Studio73/social, Syci-Consulting/social, TDu/social, TRESCLOUD/social, Tecnativa/social, Tonow-c2c/social, Vauxoo/social, YogeshMahera-SerpentCS/social, aaltinisik/social, acsone/social, adhoc-dev/social, agrista/odoo-social, ajaniszewska-dev/social, akretion/social, anhvu-sg/social, ansinaesmejor/social, aurestic/social, bealdav/social, brain-tec/social, brainbeanapps/social, camptocamp/social, coopiteasy/social, daramousk/social, diggy128/social, dndoanh/social, druidoo-dev/social, eLBati/social, emagdalenaC2i/social, ermannognan/social, eugentaga/social, exosoftware/oca-social, extrememicro/social, focusate/oca-social, gab-net/social, gfcapalbo/social, grindtildeath/social, gurneyalex/social, hbrunn/social, hibou-io/oca-social, hinfo506/social, i-vyshnevska/social, iledarn/social, jacky82669513/social, jobiols/oca-social, legalsylvain/social, lincersolucoes/oca-social, manuelcalerosolis/social, masiunas/social, mavs2011bs/social, mozaik-association/social, myceliandre/social, nilshamerlinck/social, noorealam96/social, odoogap/social, osiell/social, pegonzalezspesol/social, popama/social, redcor/social, rlizana/social, rubensben/social, ruuter/social, sadeqamin/social, sanube/social, sergiocorato/social, shiram/social, simahawk/social, skeller1/social, solarprocurement/social, steingabelgaard/social, sunflowerit/social, sygel-technology/social, tafaRU/social, takinobori/oca-social, takobi-online/social, tegin/social, tfossoul/social, thomaspot/social, tirma-sa/social, tosink/social, ursais/social, valmarnet/social, versada/social, x0rzkov/odoo-social, xcgd/social, and y2gsmith/social

<h1 class="title">Mail Outbound Static</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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/social/tree/15.0/mail_outbound_static"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_outbound_static"><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/205/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module brings Odoo outbound emails in to strict compliance with RFC-2822 by allowing for a dynamically configured From header, with the sender's e-mail being appended into the proper Sender header instead. To accomplish this we:</p> <ul class="simple"> <li>Add a domain whitelist field in the mail server model. This one represent an allowed Domains list separated by commas. If there is not given SMTP server it will let us to search the proper mail server to be used to send the messages where the message 'From' email domain match with the domain whitelist. If there is not mail server that matches then will use the default mail server to send the message.</li> <li>Add a Email From field that will let us to email from a specific address taking into account this conditions:<ol class="arabic"> <li>If the sender domain match with the domain whitelist then the original message's 'From' will remain as it is and will not be changed because the mail server is able to send in the name of the sender domain.</li> <li>If the original message's 'From' does not match with the domain whitelist then the email From is replaced with the Email From field value.</li> </ol> </li> <li>Add compatibility to define the smtp information in Odoo config file. Both smtp_from and smtp_whitelist_domain values will be used if there is not mail server configured in the system.</li> </ul> <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> <ul class="simple"> <li>Navigate to an Outbound Email Server</li> <li>Set the <cite>Email From</cite> option to an email address</li> <li>Set the <cite>Domain Whitelist</cite> option with the domain whitelist</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/social/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/social/issues/new?body=module:%20mail_outbound_static%0Aversion:%2015.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>brain-tec AG</li> <li>LasLabs</li> <li>Adhoc SA</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Frédéric Garbely &lt;<a class="reference external" href="mailto:frederic.garbely&#64;braintec-group.com">frederic.garbely&#64;braintec-group.com</a>&gt;</li> <li>Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</li> <li>Lorenzo Battistini &lt;<a class="reference external" href="https://github.com/eLBati">https://github.com/eLBati</a>&gt;</li> <li>Pierre Pizzetta &lt;<a class="reference external" href="mailto:pierre&#64;devreaction.com">pierre&#64;devreaction.com</a>&gt;</li> <li>Katherine Zaoral &lt;<a class="reference external" href="mailto:kz&#64;adhoc.com.ar">kz&#64;adhoc.com.ar</a>&gt;</li> <li>Juan José Scarafía &lt;<a class="reference external" href="mailto:jjs&#64;adhoc.com.ar">jjs&#64;adhoc.com.ar</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/social/tree/15.0/mail_outbound_static">OCA/social</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>