Skip to content

Commit f2c861e

Browse files
“Audreytoaa-odoo
authored andcommitted
[ADD] website: mail groups
task-2845181
1 parent c34c5b1 commit f2c861e

File tree

5 files changed

+131
-0
lines changed

5 files changed

+131
-0
lines changed

content/applications/websites/website.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ convert visitors into leads or revenues.
2626
website/pages
2727
website/configuration
2828
website/reporting
29+
website/mail_groups
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
===========
2+
Mail groups
3+
===========
4+
5+
The **Mail groups** feature in the **Website** app allows website visitors to have a public
6+
discussion by email. They can join a group to receive emails from other group members (i.e., website
7+
users who have subscribed to the group) and send new ones to all group members.
8+
9+
To activate mail groups for your website, :ref:`install <general/install>` the :guilabel:`Website
10+
Mail Group` (`website_mail_group`) module.
11+
12+
.. note::
13+
The **Mail groups** feature in the **Website** app is not to be confused with the
14+
:doc:`../../marketing/email_marketing/mailing_lists` in the Email marketing app.
15+
16+
Using mail groups
17+
=================
18+
19+
Subscribing/unsubscribing
20+
-------------------------
21+
22+
Based on the :ref:`configuration of the mail group <website/mailing_lists/configure_groups>`,
23+
users can subscribe to and unsubscribe from mail groups from the website page `/groups`. Internal
24+
users can also do this from :menuselection:`Website --> Groups --> Mailing List Groups`, using the
25+
:guilabel:`Join` and :guilabel:`Leave` buttons.
26+
27+
.. image:: mail_groups/mail-group-page.png
28+
:alt: Mail group web page.
29+
30+
Sending messages
31+
----------------
32+
33+
To send messages to a mail group, website users can email the :ref:`mail group's email address
34+
<website/mailing_lists/configure_groups>`. Internal users can also create messages directly from
35+
Odoo. To do so, go to :menuselection:`Website --> Groups --> Mailing List Groups`, select the mail
36+
group, click the :guilabel:`Emails` smart button, and click :guilabel:`Create`. Then, fill in the
37+
fields and click :guilabel:`Send`.
38+
39+
.. tip::
40+
- The list of messages can also be accessed by selecting the group from the `/groups` website
41+
page.
42+
- Group members can also unsubscribe from the group, access the mail group page, and send emails
43+
to the group using the URLs in the footer of any group email they have received.
44+
45+
.. image:: mail_groups/mail-group-URLs.png
46+
:alt: URLs in the footer of a group email.
47+
48+
.. _website/mailing_lists/configure_groups:
49+
50+
Configuring mail groups
51+
=======================
52+
53+
To configure mail groups, proceed as follows:
54+
55+
#. Configure a custom email alias domain: Access the **General settings**, scroll down to the
56+
:guilabel:`Discuss` section, enable the :guilabel:`Custom Email Server` feature, and enter the
57+
:guilabel:`Alias domain` (e.g., `@mycompany.com`).
58+
#. Go to :menuselection:`Website --> Groups --> Mailing list groups`, then click :guilabel:`Create`.
59+
#. Specify a :guilabel:`Group name`, the :guilabel:`Email alias`, and a :guilabel:`Description`.
60+
#. Enable :guilabel:`Moderate this group` and specify the :guilabel:`Moderators` if you wish to
61+
:ref:`moderate messages <website/mailing_lists/moderate>` from this group. Alternatively, if the
62+
group is not moderated, you can define :guilabel:`Responsible users` who can manage the messages
63+
in the group.
64+
#. In the :guilabel:`Privacy` tab, define who can subscribe to the mail group:
65+
66+
- :guilabel:`Everyone`: to make the mail group public so anyone can subscribe to it;
67+
- :guilabel:`Members only`: to only allow users defined as members to subscribe to the mail group;
68+
- :guilabel:`Selected group of users`: to only allow users from the :guilabel:`Authorized group`
69+
to subscribe to the mail group.
70+
71+
#. If the mail group is moderated, you can automatically notify authors when their message is
72+
pending moderation by enabling :guilabel:`Automatic notification` in the :guilabel:`Notify
73+
members` tab and writing the :guilabel:`Notification message`.
74+
#. If you wish to send out guidelines to new subscribers, enable :guilabel:`Send guidelines to new
75+
subscribers` and write the :guilabel:`Guidelines` in the :guilabel:`Guidelines` tab. This is
76+
particularly useful when the mail group is moderated.
77+
78+
.. _website/mailing_lists/moderate:
79+
80+
Moderating mail group messages
81+
==============================
82+
83+
If the :guilabel:`Moderate this group` feature has been enabled for the
84+
:ref:`mail group <website/mailing_lists/configure_groups>`, one of the :guilabel:`Moderators` must
85+
approve the group's messages before they are dispatched to the other members.
86+
87+
To moderate messages, go to :menuselection:`Website --> Groups --> Mailing list groups`, select the
88+
mail group, and click the :guilabel:`To review` smart button. You can moderate messages using the
89+
buttons at the end of the message line or select a message to view its content and moderate it
90+
accordingly.
91+
92+
.. image:: mail_groups/mail-group-moderation.png
93+
:alt: Moderation buttons in the message line.
94+
95+
The following buttons are available:
96+
97+
- :guilabel:`Accept`: to accept the email and send it to the mail group members.
98+
- :guilabel:`Reject`: to reject the email. In the pop-up window that opens, click
99+
:guilabel:`Reject Silently` to reject the email without notifying the author, or specify an
100+
explanation for rejecting the message, then click :guilabel:`Send & Reject` to reject the message
101+
and send the explanation to the author.
102+
- :guilabel:`Whitelist`: to whitelist the author, i.e. automatically accept all of their emails. As
103+
a result, a :ref:`moderation rule <website/mailing_lists/moderate>` is created for the author's
104+
email address with the status :guilabel:`Always allow`.
105+
- :guilabel:`Ban`: to blacklist the author, i.e. automatically discard all their emails. In the
106+
pop-up window that opens, click :guilabel:`Ban` to ban the author without notifying them, or
107+
specify an explanation, then click :guilabel:`Send & Ban` to ban the author and send them the
108+
explanation. As a result, a :ref:`moderation rule <website/mailing_lists/moderate>` is created for
109+
the author's email address with the status :guilabel:`Permanent ban`.
110+
111+
.. note::
112+
Messages can also be moderated from the group's list of messages. Go to :menuselection:`Website
113+
--> Groups --> Mailing list groups`, select the mail group and click the :guilabel:`Emails` smart
114+
button.
115+
116+
.. _website/mailing_lists/moderation_rules:
117+
118+
Whitelisting/Blacklisting authors
119+
=================================
120+
121+
You can whitelist or blacklist an author either directly :ref:`from a mail group message
122+
<website/mailing_lists/moderate>`, or by creating a moderation rule. To do so, go to
123+
:menuselection:`Website --> Groups --> List moderation rulings` and click :guilabel:`Create`. Then,
124+
select the :guilabel:`Group`, specify the author's :guilabel:`Email` and set the :guilabel:`Status`
125+
field.
126+
127+
.. tip::
128+
You can also access the mail group's moderation rules by going to :menuselection:`Website -->
129+
Groups --> Mailing list groups`, selecting the group, then clicking the :guilabel:`Moderations`
130+
smart button.
5.36 KB
Loading
22.8 KB
Loading
235 KB
Loading

0 commit comments

Comments
 (0)