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
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Subscribe Button in Email

Subscribe

Get notified when there's activity on this post

This question has been flagged
mass_mailing17.0+e
2 Replies
844 Views
Avatar
Christian Meyer

I am trying to create an Email in Email Marketing (mass_mailing) which has a button to allow the receiver to subscribe to one of the Mailinglists. I can't find a way to do it.

The documentation refers to the website module, which I don't need and want. I don't need a page where the receiver can "Update his preferences" or a feedback page for unsubscribers, I just want the receiver to subscribe as easy as possible to our newsletter.

Can somebody help me ?

0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

One-Click Subscribe via a Custom URL + Automated Action (Low-code)
This gives you a true one-click button:

In the email, add a button with a URL like:

     https://your-odoo.com/mail/subscribe?email={{ object.email }}&list_id=YOUR_LIST_ID
    Create an Automated Action on mailing.contact (when record is created or updated) that adds the contact to the target mailing list when they hit that endpoint

The catch: Odoo Online doesn't let you create custom HTTP controllers without a custom module. If you're on Odoo.sh or self-hosted, you can build a small controller


Hope it helps

0
Avatar
Discard
Avatar
Zehntech Technologies Inc.
Best Answer

Hi Christian,

In Odoo Email Marketing there isn’t a built-in direct “Subscribe” button for mailing lists inside the email itself without using a form or route. However, there are a couple of ways you can achieve this:

Option 1: Use a custom controller URL

You can create a simple custom route in a custom module that receives the contact’s email (or partner ID) and automatically adds them to the target mailing list. Then you can place a button in the email that points to that URL.

Example flow:

  1. Create a route like: /newsletter/subscribe?email=${object.email}

  2. In the controller, search the contact and add them to the desired mailing.list.

  3. Redirect to a simple “Subscribed successfully” message (optional).

This allows one-click subscription directly from the email.

Option 2: Use a simple website form (lightweight)

Even if you don't want the full website experience, a minimal form endpoint can handle the subscription with almost no UI.

If you'd like, I can also share a small controller example for Odoo 17 that automatically adds the recipient to a mailing list with one click.

Curious to know if you're using Contacts as recipients or external email lists in your campaign.

Best Regards,
Santosh S
Contact me on:- santosh.sekwadia@zehntech.com

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
odoo mass mailing get opened replied and bounced data on localhost
mass_mailing
Avatar
Avatar
1
Mar 24
4055
[URGENT] Mass mailing template IF condition with HTML
mass_mailing
Avatar
Avatar
1
Apr 21
4287
Odoo13CE mass_mailing not visible
mass_mailing
Avatar
Avatar
2
Jun 20
5226
Is it possible to add mass_mailing module to a local OpenERP 7 server?
mass_mailing
Avatar
Avatar
Avatar
5
Jan 20
7563
Mass mailing - subject is empty if non-english characters used (ě,š,č,ř,ž,ý...) but not empty without non-english characters Solved
mass_mailing
Avatar
Avatar
2
Feb 18
5368
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
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

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

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now