You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
4.5 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. ==========================================================
  4. Customizable unsubscription process on mass mailing emails
  5. ==========================================================
  6. With this module you can set a custom unsubscribe link appended at the bottom
  7. of mass mailing emails.
  8. It also displays a beautiful and simple unsubscription form when somebody
  9. unsubscribes, to let you know why and let the user unsubscribe form another
  10. mailing lists at the same time; and then displays a beautiful and customizable
  11. goodbye message.
  12. Configuration
  13. =============
  14. Unsubscription Message In Mail Footer
  15. -------------------------------------
  16. To configure unsubscribe label go to *Settings > Technical > Parameters >
  17. System parameters* and add a ``mass_mailing.unsubscribe.label`` parameter
  18. with HTML to set at the bottom of mass emailing emails. Including ``%(url)s``
  19. variable where unsubscribe link.
  20. For example::
  21. <small>You can unsubscribe <a href="%(url)s">here</a></small>
  22. Additionally, you can disable this link if you set this parameter to ``False``.
  23. If this parameter (``mass_mailing.unsubscribe.label``) does not exist, the
  24. default 'Click to unsubscribe' link will appear, with the advantage that it is
  25. translatable via *Settings > Translations > Application Terms > Translated
  26. terms*.
  27. Unsubscription Reasons
  28. ----------------------
  29. You can customize what reasons will be displayed to your unsubscriptors when
  30. they are going to unsubscribe. To do it:
  31. #. Go to *Marketing > Configuration > Unsubscription Reasons*.
  32. #. Create / edit / remove / sort as usual.
  33. #. If *Details required* is enabled, they will have to fill a text area to
  34. continue.
  35. Unsubscription Goodbye Message
  36. ------------------------------
  37. Your unsubscriptors will receive a beautier goodbye page. You can customize it
  38. with these links **after installing the module**:
  39. * `Unsubscription successful </page/mass_mailing_custom_unsubscribe.successs>`_.
  40. * `Unsubscription failed </page/mass_mailing_custom_unsubscribe.failure>`_.
  41. Usage
  42. =====
  43. Once configured, just send mass mailings as usual.
  44. If somebody gets unsubscribed, you will see logs about that under
  45. *Marketing > Mass Mailing > Unsubscriptions*.
  46. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  47. :alt: Try me on Runbot
  48. :target: https://runbot.odoo-community.org/runbot/205/8.0
  49. Known issues / Roadmap
  50. ======================
  51. * This needs tests.
  52. * This custom HTML is not translatable, so as a suggestion, you can define
  53. the same text in several languages in several lines.
  54. For example:
  55. .. code:: html
  56. <small>[EN] You can unsubscribe <a href="%(url)s">here</a></small><br/>
  57. <small>[ES] Puedes darte de baja <a href="%(url)s">aquí</a></small>
  58. * If you use the ``website_multi`` module, you will probably find that the
  59. views are not visible by default.
  60. * This module adds a security hash for mass mailing unsubscription URLs, which
  61. makes to not work anymore URLs of mass mailing messages sent before its
  62. installation. If you need backwards compatibility, disable this security
  63. feature by removing the ``mass_mailing.salt`` system parameter. To avoid
  64. breaking current installations, you will not get a salt if you are upgrading
  65. the addon. If you want a salt, create the above system parameter and assign a
  66. random value to it.
  67. * Security should be patched upstream. Remove security features in the version
  68. where https://github.com/odoo/odoo/pull/12040 gets merged (if it does).
  69. Bug Tracker
  70. ===========
  71. Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
  72. In case of trouble, please check there if your issue has already been reported.
  73. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  74. `here <https://github.com/OCA/
  75. social/issues/new?body=module:%20
  76. mass_mailing_custom_unsubscribe%0Aversion:%20
  77. 8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  78. Credits
  79. =======
  80. Contributors
  81. ------------
  82. * Rafael Blasco <rafabn@antiun.com>
  83. * Antonio Espinosa <antonioea@antiun.com>
  84. * Jairo Llopis <yajo.sk8@gmail.com>
  85. Maintainer
  86. ----------
  87. .. image:: https://odoo-community.org/logo.png
  88. :alt: Odoo Community Association
  89. :target: https://odoo-community.org
  90. This module is maintained by the OCA.
  91. OCA, or the Odoo Community Association, is a nonprofit organization whose
  92. mission is to support the collaborative development of Odoo features and
  93. promote its widespread use.
  94. To contribute to this module, please visit https://odoo-community.org.