Search 1.9 billion lines of Odoo code on GitHub

mass_mailing_custom_unsubscribe

Author: Antiun Ingeniería S.L., Tecnativa,Odoo Community Association (OCA)
License: AGPL-3
Branch: lih_master
Repository: acsone/social
Dependencies: mass_mailing, website, and website_crm
Languages: JavaScript (10, 0.1%), PO File (10925, 92.3%), Python (497, 4.2%), XML (316, 2.7%), and reStructuredText (83, 0.7%)
Other branches: 10-mig-mail_optional_autofollow-ape, 10.0, 10.0-brb_master, 10.0-fix-mail_optional_follower_notification-ape, 10.0-imp_hide_checkbox_mass_mailing_drt, 10.0-lih_master, 10.0-liser_master, 10.0-lns_master, 10.0-mail-attach-inheritance-ape, 10.0-oba_master, 11.0, 12.0, 12.0-ADD_mail_header_notified_partner-len, 12.0-asw_master, 12.0-composernoautofollow-len, 12.0-mail_optional_follower_notification-sbj, 12.0-mig-mail_footer_notified_partner-len, 12.0-prg_master, 13.0, 13.0-fix-travis, 13.0-mail_template_multi_attachment, 13.0-mig-mail_as_letter, 13.0-mig-mail_optional_follower_notification, 13.0-mig-mail_template_substitute-sbj, 13.0-slg_master, 13.0-wpu_master, 14.0, 14.0-mig-mail_template_multi_attachment, 8.0, 8.0-add-optional-follower-notifications-ape, 8.0-lih_master, 9.0, 9.0-add-optional-follower-notifications-lmi, 9.0-backport_mail_improved_tracking_value_tbi, 9.0-brb_master, 9.0-fix_mail_optional_follower_notification_fr_tbi, 9.0-fix_mail_optional_follower_notification_tbi, 9.0-fkr_master, 9.0-lou_master, 9.0-mail-activity, 9.0-mail-activity-sudo, 9.0-mail_optional_autofollow-lmi, 9.0-ola_master, 9.0-slg_master, exq_master, lis_master, and oca-port-pr-598-from-13.0-to-14.0
Other repositories: 2FM/social, ACCOMODATA-BVBA/social, AITIC/social, AMhadhbi/social, AdriaGForgeFlow/social, Alfa-90/social, Antiun/crm, Antiun/social, BADEP/social, BT-fgarbely/social, BT-scchmid-test/social, BeopenMX/social, Bubbles-IT/social, CB-Gran-Canaria/social, Callino/social, Change2improve/social, ClearCorp/oca-social, Cloudxtreme/social, CompassionCH/social, Digital5-Odoo/social, Dobtor-OCA/social, DucTruongKomit/social, ERPLibre/social, Endika/social, ForgeFlow/social, Gabinete-Digital/social, Glue-Software-Engineering-AG/social, Gofekra/social, Hasnur/social, ICTSTUDIO/social, ITISAG-OCA/social, Ingeos/social, Jarsa/social, JazziMc/social, Judystudy/social, KasunDA/social, Kiplangatdan/social, KomarovAlea/social, LasLabs/social, MadsackMediaStore/social, MathBenTech/social, MediaJockey/social, NL66278/social, NeatNerdPrime/social, NextERP-Romania/social, Nooka10/social, OCA-MUK/social, OCA/social, ORETEK/social, OpencloudPro/social, QubiQ/social, RLeeOSI/social, Rad0van/social, SDIsl/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, VisiionSolucionesTecnologicas/social, VitalPet/social, YogeshMahera-SerpentCS/social, a0c/social, aaltinisik/social, adhoc-dev/social, adolfoeliazat/social, adrienpeiffer/social, agenterp/social, agenterpgmbh/social, agrista/odoo-social, ajaniszewska-dev/social, akretion/social, alanljj/social, alexlafalce/social, anderswallenquist/social, anhvu-sg/social, ansinaesmejor/social, antonyrajserpentcs/social, anybox/social, apachesep/social, apertoso/social, apetbiz/social, archetipo/social, aryajimbaran/social, auditum-lko/social, aurestic/social, avoinsystems/social, ayush5198/social, bealdav/social, bishalgit/social, bitroniq/social, brain-tec/social, brainbeanapps/social, camptocamp/social, cedvict/social, celm1990/social, chacatico/social, cocox/social, codewr/social, coopiteasy/social, crnd-inc/social, cunguito/social, dajuayen/social, damcar/social, daramousk/social, ddico/social, denislour/social, dev00007/social, dgzurita/social, diagramsoftware/social, diegobgl/social, diggy128/social, dndoanh/social, dozymoe/social, dreispt/social, druidoo-dev/social, duanyp1991/social, eLBati/social, eezee-it/social, elmeknouni/social, elvirekemajou/social, emagdalenaC2i/social, ermannognan/social, ernestotejeda/social, eslammohamed13/social, etobella/social, eugentaga/social, exosoftware/oca-social, extrememicro/social, fmdl/social, focusate/oca-social, forvas/social, gab-net/social, garzadekoster/social, gfcapalbo/social, git-service-it-ar/social, grindtildeath/social, gurneyalex/social, haroldtamo/social, hbrunn/social, hibou-io/oca-social, hinfo506/social, i-vyshnevska/social, iRichGit/social, igallart/social, iledarn/social, imranissufo/social, incaser/social, inforconseil/social, inspiredbusiness/social, isos/social, jacky82669513/social, jerrodmartin/social, jobiols/oca-social, jorcan46/social, kevin070982/social, kryskool/social, legalsylvain/social, leonidaspe/social, leonidasthe300/social, lesdekock/social, lfreeke/social, lincersolucoes/oca-social, logicasoftadmin/social, manuelcalerosolis/social, marcozink/social, marionumza/social, markrobinson85/social, masiunas/social, mavs2011bs/social, mechsoftdigital/social, mgielissen/social, minhyk/social, mjadily/social, modoolar/social, molandtoxx/social, moltisinc/social, mozaik-association/social, mpanarin/social, myceliandre/social, nilshamerlinck/social, niulinlnc/social, noorealam96/social, odoobgorg/OCA-social, odoogap/social, odoonz/social, ontruck/social, open-synergy/social, osfp-Pakistan/social, osiell/social, p-tombez/social, paulius-sladkevicius/social, pedrobaeza/social, pegonzalezspesol/social, phucngta/social, popama/social, pscloud/social, publidex/social, redblow/social, redcor/social, rlizana/social, rossasa/social, rsullivan2704/social, rubensben/social, ruuter/social, sadeqamin/social, sanube/social, savoirfairelinux/social, scbrianti/social, semamca35/social, sergiocorato/social, serpentcs-dev1/social, sewisoft/social, shiram/social, simahawk/social, skeller1/social, solarprocurement/social, spitronello/social, sschmid-test-org/social, steingabelgaard/social, sunflowerit/social, sygel-technology/social, tafaRU/social, takinobori/oca-social, takobi-online/social, tansadio/social, tbaden/social, tegin/social, tfossoul/social, thinkopensolutions/oca-social, thinkwelltwd/social, thomaspot/social, tirma-sa/social, tosink/social, tpalan/social, tpxxx/social, tschanzt/social, ubic135/social, ursais/social, valmarnet/social, vcloud9ray/social, versada/social, wahhid/social, westlyou/social, x0rzkov/odoo-social, xavidj/social, xcgd/social, xduran/social, xpansa/social, y2gsmith/social, yusniermatos/social, zestsoftware/social, and zmakrelouf/social

<img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> <a name="customizable-unsubscription-process-on-mass-mailing-emails"></a> <h2>Customizable unsubscription process on mass mailing emails</h2> <p>With this module you can set a custom unsubscribe link appended at the bottom of mass mailing emails.</p> <p>It also displays a beautiful and simple unsubscription form when somebody unsubscribes, to let you know why and let the user unsubscribe form another mailing lists at the same time; and then displays a beautiful and customizable goodbye message.</p> <a name="configuration"></a> <h3>Configuration</h3> <a name="unsubscription-message-in-mail-footer"></a> <h4>Unsubscription Message In Mail Footer</h4> <p>To configure unsubscribe label go to <em>Settings &gt; Technical &gt; Parameters &gt; System parameters</em> and add a <code>mass_mailing.unsubscribe.label</code> parameter with HTML to set at the bottom of mass emailing emails. Including <code>%(url)s</code> variable where unsubscribe link.</p> <p>For example:</p> <pre> <code>&lt;small&gt;You can unsubscribe &lt;a href=&quot;%(url)s&quot;&gt;here&lt;/a&gt;&lt;/small&gt;</code> </pre> <p>Additionally, you can disable this link if you set this parameter to <code>False</code>.</p> <p>If this parameter (<code>mass_mailing.unsubscribe.label</code>) does not exist, the default 'Click to unsubscribe' link will appear, with the advantage that it is translatable via <em>Settings &gt; Translations &gt; Application Terms &gt; Translated terms</em>.</p> <a name="unsubscription-reasons"></a> <h4>Unsubscription Reasons</h4> <p>You can customize what reasons will be displayed to your unsubscriptors when they are going to unsubscribe. To do it:</p> <ol class="arabic simple"> <li>Go to <em>Marketing &gt; Configuration &gt; Unsubscription Reasons</em>.</li> <li>Create / edit / remove / sort as usual.</li> <li>If <em>Details required</em> is enabled, they will have to fill a text area to continue.</li> </ol> <a name="unsubscription-goodbye-message"></a> <h4>Unsubscription Goodbye Message</h4> <p>Your unsubscriptors will receive a beautier goodbye page. You can customize it with these links <strong>after installing the module</strong>:</p> <ul class="simple"> <li><a class="reference external" href="/page/mass_mailing_custom_unsubscribe.successs">Unsubscription successful</a>.</li> <li><a class="reference external" href="/page/mass_mailing_custom_unsubscribe.failure">Unsubscription failed</a>.</li> </ul> <a name="usage"></a> <h3>Usage</h3> <p>Once configured, just send mass mailings as usual.</p> <p>If somebody gets unsubscribed, you will see logs about that under <em>Marketing &gt; Mass Mailing &gt; Unsubscriptions</em>.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/205/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul> <li><p class="first">This needs tests.</p> </li> <li><p class="first">This custom HTML is not translatable, so as a suggestion, you can define the same text in several languages in several lines.</p> <p>For example:</p> </li> </ul> <pre> <code lang="html">&lt;small&gt;[EN] You can unsubscribe &lt;a href=&quot;%(url)s&quot;&gt;here&lt;/a&gt;&lt;/small&gt;&lt;br/&gt; &lt;small&gt;[ES] Puedes darte de baja &lt;a href=&quot;%(url)s&quot;&gt;aquí&lt;/a&gt;&lt;/small&gt;</code> </pre> <ul class="simple"> <li>If you use the <code>website_multi</code> module, you will probably find that the views are not visible by default.</li> <li>This module adds a security hash for mass mailing unsubscription URLs, which makes to not work anymore URLs of mass mailing messages sent before its installation. If you need backwards compatibility, disable this security feature by removing the <code>mass_mailing.salt</code> system parameter. To avoid breaking current installations, you will not get a salt if you are upgrading the addon. If you want a salt, create the above system parameter and assign a random value to it.</li> <li>Security should be patched upstream. Remove security features in the version where <a class="reference external" href="https://github.com/odoo/odoo/pull/12040">https://github.com/odoo/odoo/pull/12040</a> gets merged (if it does).</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <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 feedback <a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_custom_unsubscribe%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">here</a>.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Rafael Blasco &lt;<a class="reference external" href="mailto:rafabn&#64;antiun.com">rafabn&#64;antiun.com</a>&gt;</li> <li>Antonio Espinosa &lt;<a class="reference external" href="mailto:antonioea&#64;antiun.com">antonioea&#64;antiun.com</a>&gt;</li> <li>Jairo Llopis &lt;<a class="reference external" href="mailto:yajo.sk8&#64;gmail.com">yajo.sk8&#64;gmail.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>