Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Email Marketing
  3. Mailing Double Opt-In v 20.0
  4. Sales Conditions FAQ

Mailing Double Opt-In

by Awins
Odoo

$ 29.58

v 20.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Apps / Awins / mailing_double_opt_in

Mailing Double Opt-In

Newsletter sign-ups from your website stay pending until the visitor clicks the link in a confirmation email, and every request, confirmation, expiry and unsubscription goes into a consent log with date, IP address and source page.

Install›Configure›Use
/odoo/action-mass_mailing.action_view_mass_mailing_contacts/8 · Consent Log
Mailing Double Opt-In in the Odoo backend
Odoo17.0, 18.0, 19.0, 20.0
EditionsCommunity, Enterprise
Works withWebsite, Email Marketing (website_mass_mailing)
LicenceOPL-1, 27 EUR
Tests27 automated, run on every version
Modulemailing_double_opt_in

The situation

A visitor types maria@acme.com into the newsletter block of your website and Odoo subscribes that address at once, whoever owns it. A typo lands in your list, a prank sign-up fills it with strangers, and if someone says "I never signed up" you have a create date and nothing else to show.

With this module a mailing list can require double opt-in. The sign-up creates the subscription as pending (opted out), the address gets an email with a personal link, and only the click on that link subscribes it. Pending contacts are skipped by every mailing. Each step is written to a consent log you can read on the contact and export.

What it adds

Require double opt-in
A switch on each mailing list
Tick it on the list behind your newsletter block. Lists without the tick keep working like standard Odoo, so you can use it on the public newsletter and not on your customer list.
Without it: Odoo subscribes the address the moment the form is submitted.
Pending confirmation
Pending contacts get no mailing
The sign-up is saved opted out, with the status Pending on the subscription line, a ribbon on the contact, a Pending confirmation filter and a Pending button on the list. A test sends a mailing to a pending and a confirmed contact: the pending one is cancelled as Opted Out.
Confirmation Email
Editable confirmation email
A normal email template with a Confirm my subscription button and the number of days the link works. Edit the wording, or pick another template per list in the Confirmation Email field.
/mailing/confirm/
Personal link and thank-you page
The link carries a random 43-character token. Opening it subscribes the contact and shows a thank-you page. Opening it twice is harmless; the link of a contact who has unsubscribed since is refused.
Confirmation Link Validity (days)
Expiry and new link
Set the days in Settings › Email Marketing (3 by default). A daily cron, Mailing: expire unconfirmed opt-in requests, marks late requests as Expired. An expired link shows a page with a Send me a new link button.
Resend confirmation
Resend from the contact
A button in the contact header and on each pending or expired subscription line. It sends a fresh link and the old one stops working.
Consent Log
A log you can export
One line per Requested, Confirmed, Expired and Unsubscribed with date, email, list, IP address, user agent and source URL. It shows as a tab on the contact and under Email Marketing › Reporting › Consent Log, where you can filter, group and export it.
Without it: Odoo keeps the subscription date and the opt-out date, but not who asked, from where, or when they confirmed.

Getting started

Install

Open Apps, clear the Apps filter, search for Mailing Double Opt-In and click Activate. It needs Website and Email Marketing (website_mass_mailing); Odoo installs them if they are missing. Your outgoing mail server must work, because the confirmation is a normal email.

Apps › mailing_double_opt_in › Activate
Configure

Open the mailing list behind your newsletter block and tick Require double opt-in. Leave Confirmation Email empty to use the default template, or pick your own. The days a link stays valid are in Settings under Email Marketing (Opt-in Link Validity).

Email Marketing › Mailing Lists › Require double opt-in Settings for Mailing Double Opt-In
Use

Nothing changes for the visitor except one more click: after the sign-up the website says to check the inbox. In Email Marketing › Mailing List Contacts, filter on Pending confirmation to see who has not clicked yet, and press Resend confirmation on a contact whose mail got lost. The Consent Log tab of the contact shows the proof.

The confirmation email for jonas.keller@example.com: one button, the validity in days, and a line for people who did not ask for it.
The confirmation email for jonas.keller@example.com: one button, the validity in days, and a line for people who did not ask for it.
The page after the click. The contact is subscribed and the consent log gets a Confirmed line with date and IP address.
The page after the click. The contact is subscribed and the consent log gets a Confirmed line with date and IP address.

Fine print

Does it also hold back contacts I import or add by hand?
No. Only sign-ups through the website newsletter block are held back. Contacts you add in the backend or import are subscribed at once, as in standard Odoo.
What if the visitor submits the form twice?
Within two minutes the second submit sends no new email. After that it sends a new link, and the old link stops working.
Can a mail scanner confirm the subscription by opening the link?
Yes, the subscription is confirmed when the link is opened, so a security gateway that follows links in incoming mail can confirm for the recipient. The consent log then shows the IP address of the scanner, not of the person.
Where can I run it?
On Odoo.sh and on your own server, Community or Enterprise, versions 17.0 to 20.0. Odoo Online doesn't accept third-party modules.
What doesn't it do?
Only sign-ups through the website newsletter block are covered. Subscriptions made in the backend, by import, on the /mailing/my page or with the newsletter checkbox at website checkout (website_sale_mass_mailing) skip the confirmation. Phone-number (SMS) sign-ups are not covered. The confirmation email goes through the normal mail queue, so it needs a working outgoing mail server. The consent log records what happened; it does not decide whether your use of the data is lawful.
Can you adapt it for us?
Yes. Email odoo.expert.111@gmail.com with your Odoo version and what you'd like changed.

Log

20.0.1.0.0 · Oct 2026
First release, published for Odoo 17.0 to 20.0.

Can the confirmation email and thank-you page use our own wording?

The email is an editable template; changing the layout of the thank-you page is an adaptation we can quote.

Email odoo.expert.111@gmail.com
QR code: email Awins about this module

Also by Awins

Courier Register Courier Register courier_dispatch_register
ABC Analysis Cycle Count ABC Analysis Cycle Count stock_abc_cycle_count
Bank Statement Import Bank Statement Import bank_statement_import_files
Awins builds small Odoo modules that do one job. mailing_double_opt_in · 20.0.1.0.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Email Marketing (mass_mailing)
• Website (website)
• Contacts (contacts)
• Discuss (mail)
Lines of code 581
Technical Name mailing_double_opt_in
LicenseOPL-1
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with