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
    • Validacions
    • 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ó
    • Gestió immobiliària
    • 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

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
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

Mass mailing campaigns do not track opened and replied e-mails?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
emailmailingcampaignodooV8
16 Respostes
21855 Vistes
Avatar
Yenthe Van Ginneken (Mainframe Monkey)

Hi guys

Today I've download and installed the mass mailings module for Odoo V8.
I've setup a testaccount with an incoming and outgoing mailserver and then added the email test account to Odoo.
Everything seems to fine up until the emails are sent. They are sent to the emailadresses I provide but it doesn't seem to track who has read the emails and who replied?
Can anybody tell me what I'm doing wrong or if I am missing something?

Here are my settings.
My campaign: 

My inbox:


My reply on this e-mail:

 

My e-mail configuration settings:

Yet my Odoo still says 0% is opened and 0% has reponded. I do not have anything in my inbox on Odoo either. My e-mail reply is in my Gmail account though!
Any solutions / help?

With kind regards
Yenthe

2
Avatar
Descartar
Jaron Soininen

I see that the images in your email are also not loading. So I think your problem might be because you have installed Odoo on your localhost, which does not have a valid domain. Therefore, when people open your mass mail-outs, your Odoo install does not receive the response.

Yenthe Van Ginneken (Mainframe Monkey)
Autor

@Jaron, this is not the problem. Sadly there are a few major bugs with parameters regarding to the IP internal and external of the server and multi-database use. I'm looking into this with the developers and we're trying out patches right now. I'll post back an answer with a detailed explenation/fix when everything is verified! :)

Jean-Marc Dupont

Hi, Have you found fixes ? emailing doesn't work for now ...

Yenthe Van Ginneken (Mainframe Monkey)
Autor

@Jean-Marc, yes I have find a solution but its rather lengthy. I will write out the answer for you tommorow morning! :)

Sławomir Lis

I found that this is due to not setting session.db. In my case - when I first opened any odoo site - then tracking image was opened correctly. I've modified openerp/http.py: --- http_orig.py 2014-10-31 07:25:02.941976640 +0100 +++ http.py 2014-10-31 07:08:12.907227392 +0100 @@ -324,7 +324,14 @@ The database linked to this request. Can be ``None`` if the current request uses the ``none`` authentication. """ - return self.session.db if not self.disable_db else None + if not self.disable_db: + if self.session.db is None and 'db' in self.httprequest.args: + self.session.db = self.httprequest.args['db'] + return self.session.db + else: + return None + + #return self.session.db if not self.disable_db else None @lazy_property def httpsession(self):

Yogesh

sorry I forgot to add the image content in last comment.

Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Autor Best Answer

To get everything working you will need to update some code in the mass_mailing module.
Patch for the new report.url parameter: https://github.com/odoo/odoo/pull/3260.patch
Patch for the mail_mail.py file under mass_mailing/models
and main.py under mass_mailing/controllers:https://github.com/odoo/odoo/pull/3289.patch

You will need to apply those patches. Or alternatively copy the content from these files and import them in your files.
main.py file: http://pastebin.com/zAw64WpH
mail_mail.py file: http://pastebin.com/6g2ddfdZ

After you've applied those patches you can add a new parameter report.url under settings > Parameters > System Parameters with the IP of your Ubuntu VM.
Now you can set a web.base.url, a web.base.url.freeze (to be sure the URL isn't changed by Odoo itself) and a report.url.
Why is this? With this you can define the web.base.url to make the URL for your images and e-mails and use the report.url to make the URL for printing files out in PDF.
Your final settings should look like this:
Now save all your files, edits, ... and restart your Odoo. From now on you can use mass mailing, all images and tracking of opened e-mails will work.

NOTE: At the time of this answer mass_mailing is not supported for multiple databases! This will only work if you have one database or use the --db-filter parameter.
For more information see: https://github.com/odoo/odoo/pull/3289 
Odoo is working on a multi-database fix for tracking but images will not be supported in multi-databases most likely.

 

4
Avatar
Descartar
Jean-Marc Dupont

Are all these patches available in last published version of Odoo ? Is development team aware of this ?

Yenthe Van Ginneken (Mainframe Monkey)
Autor

They seem to be added to the Github Odoo branche (as you can see here https://github.com/odoo/odoo/blob/8.0/addons/mass_mailing/controllers/main.py). But I don't think they are already into the download link from the Odoo website itself..I'd manually check both files to be sure. I've tested these patches and setup the fixes for this, so yes a developer is aware of this!

Yogesh

This doesn't seem to work for me. I see a broken image in inbox in chrome but nothing in firefox. method track_mail_open(self, mail_id, **post) never gets. How should image blank.gif appear in my inbox. is it okay to appear broken image ?

Yenthe Van Ginneken (Mainframe Monkey)
Autor

@Yogesh if you get a broken image preview it means there is still something wrong / you did something wrong. Are you running your Odoo on ONE database and did you follow all my instructions?

Yogesh

Yes I read carefully multiple times. Running database with --db-filter option. I can see this is being append with body of mail but can't find where blank.gif exists.

Yogesh

sorry it seems kind of spamming but its odoo removes html content and makes blank comment.

Axel Mendoza

Hi @Yenthe, I have an issue on this today, in my installation I could see correctly the percent of opened emails but I cannot see the email address of who open the email because the email field in the statistic is gone after the email is send. Any workaround on this?

Yenthe Van Ginneken (Mainframe Monkey)
Autor

Hi @Axel I guess you could counterpart this by writing the e-mailadres away on the model on the moment it is being sent? By default there doesn't seem to be anything to keep track of the e-mail anyway.

Avatar
Dhiraj Palekar
Best Answer

For Odoo v9 and above:

Odoo generally sets web url parameter to localhost:8069.

Just set your "web.base.url" parameter value to <your ubuntu server address> ex: <http://00.000.000.00:8069/>  located at Settings >> Technical >> Parameters >> System Parameters and it should work fine. Hope it helps you. Thanks!

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
How Email Marketing works? Solved
email marketing mailing campaign
Avatar
Avatar
1
d’abr. 22
3567
odoo8 email marketing campaing sent email to customer on the basis of it interest
email marketing campaign odooV8
Avatar
0
de març 15
3938
Drip email campaign Solved
email campaign
Avatar
Avatar
1
de jul. 24
2232
Email Campaign
email campaign
Avatar
0
de juny 23
1873
how to know who unsubscribed my email campaign?
mailing campaign
Avatar
Avatar
2
d’ag. 19
4635
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 ภาษาไทย 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