Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Artificial Intelligence
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Property Management
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Subscribe Button in Email

Subscriure's

Get notified when there's activity on this post

This question has been flagged
mass_mailing17.0+e
2 Respostes
852 Vistes
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
Descartar
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
Descartar
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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
odoo mass mailing get opened replied and bounced data on localhost
mass_mailing
Avatar
Avatar
1
de març 24
4057
[URGENT] Mass mailing template IF condition with HTML
mass_mailing
Avatar
Avatar
1
d’abr. 21
4292
Odoo13CE mass_mailing not visible
mass_mailing
Avatar
Avatar
2
de juny 20
5231
Is it possible to add mass_mailing module to a local OpenERP 7 server?
mass_mailing
Avatar
Avatar
Avatar
5
de gen. 20
7566
Mass mailing - subject is empty if non-english characters used (ě,š,č,ř,ž,ý...) but not empty without non-english characters Solved
mass_mailing
Avatar
Avatar
2
de febr. 18
5370
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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