Skip to Content
Menu
This question has been flagged
12 Replies
9211 Views

Hello-

I am currently using Odoo V11 CE. It's installed on ubuntu 16.04. I have been using it for about 4 months now and everything has been going pretty well. I send out 1 mass e-mail to my subscribers monthly. All of a sudden, it won't send this month's e-mail.

Problem: I'll schedule the mass e-mail to send. After the scheduled sending time to send has passed, I'll go back in and it'll say at the top "42 e-mails could not be sent." Meaning, it's only sending 2 out of my 44 e-mail addresses. Nothing has changed since last month except I received 3 more subscribers. 

What I've done: I've tried restarting my server, restarting the odoo-server.service, making an entirely new campaign, I've also edited the mass mailing automation setting so that it is more frequently than once an hour. Nothing has fixed my problem!

Anyone have any ideas?? I was really hoping to get this valentines day newsletter sent. Thanks for the help!


Update: I created a new mailing list containing only 6 e-mail addresses of people I know (that would be ok with me sending a test). Even this campaign only sent to the first 2 e-mail addresses, just like my other list with 44 subscribers. What is happening!?

Avatar
Discard

So many words for no information. Did you check the log entries? Did you check the Email queue? Anything else which has changed meanwhile?

Author

Well that wasn't very nice Ermin...

Anyways, nothing in the that I can see as an error.

Not sure what you mean by email queue, but if I go to settings>technical>email>email nothing is in there.

And in my "so many words with no information" I stated nothing has changed except for attaining 3 more subscribers. Any other thoughts?

Also, literally every single time I use the "test mailing" button it sends no problem. All other emails are sending as well. Just not the remaining 42 of my 44 mass emailing emails.

Thanks for the help!

Author

The other weird thing is that it fails immediately. When the mass emailing automation process is executed, less than 3 seconds later it has sent the first 2 emails, and failed the other 42.

How many "successfully sent" messages do you have in the log, any othe messages? Did your SMTP provider change the policy?

Author

This is all that I have in my log when it attempted to send.

As far as successfully sent, when I go back to the email marketing campaign, it says in a blue bar at the top “2 successfully sent, could not send the remaining 42” and then there is a retry button. If I click on the emails button, I can verify that 2 did actually send.

I also don’t believe that the smtp policy has changed. Even if it had though, why can it send other emails seconds later successfully, but not even appear to attempt these?

2019-02-11 04:56:36,043 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/ir.attachment/search_read HTTP/1.0" 200 -

2019-02-11 04:56:36,210 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_button HTTP/1.0" 200 -

2019-02-11 04:56:36,322 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/mail.mass_mailing/read HTTP/1.0" 200 -

2019-02-11 04:56:36,414 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/mail.mass_mailing.list/read HTTP/1.0" 200 -

2019-02-11 04:56:36,668 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/ir.attachment/search_read HTTP/1.0" 200 -

2019-02-11 04:56:36,673 1655 INFO werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "GET /mass_mailing/field/email_template?&model=mail.mass_mailing&field=body_html&res_id=6&callback=FieldTextHtml_60&datarecord={%22id%22%3A6%2C%22active%22%3Atrue%2C%22email_from%22%3A%22the bark bars %3Cinfo%MY_DOMAIN.com%3E%22%2C%22bounced_ratio%22%3A0%2C%22state%22%3A%22in_queue%22%2C%22contact_ab_pc%22%3A100%2C%22reply_to%22%3A%22the bark bars %3Cinfo%MY_DOMAIN.com%3E%22%2C%22failed%22%3A42%2C%22replied_ratio%22%3A0%2C%22keep_archives%22%3Atrue%2C%22reply_to_mode%22%3A%22email%22%2C%22opened_ratio%22%3A0%2C%22clicks_ratio%22%3A0%2C%22mailing_model_real%22%3A%22mail.mass_mailing.contact%22%2C%22next_departure%22%3A%222019-02-11 05%3A03%3A28%22%2C%22mass_mailing_campaign_id%22%3A{%22context%22%3A{}%2C%22count%22%3A0%2C%22data%22%3A{%22display_name%22%3A%22Monthly Email%22%2C%22id%22%3A3}%2C%22domain%22%3A[]%2C%22fields%22%3A{%22display_name%22%3A{%22type%22%3A%22char%22}%2C%22id%22%3A{%22type%22%3A%22integer%22}}%2C%22id%22%3A%22mail.mass_mailing.campaign_55%22%2C%22limit%22%3A1%2C%22model%22%3A%22mail.mass_mailing.campaign%22%2C%22offset%22%3A-1%2C%22ref%22%3A3%2C%22res_ids%22%3A[]%2C%22specialData%22%3A{}%2C%22type%22%3A%22record%22%2C%22res_id%22%3A3}%2C%22received_ratio%22%3A4%2C%22display_name%22%3A%22Newsletter%22%2C%22mailing_model_name%22%3A%22mail.mass_mailing.list%22%2C%22sent_date%22%3A%222019-02-10 08%3A11%3A03%22%2C%22sent%22%3A2%2C%22name%22%3A%22Newsletter%22%2C%22scheduled%22%3A0%2C%22mailing_model_id%22%3A{%22context%22%3A{}%2C%22count%22%3A0%2C%22data%22%3A{%22display_name%22%3A%22Mailing List%22%2C%22id%22%3A380}%2C%22domain%22%3A[]%2C%22fields%22%3A{%22display_name%22%3A{%22type%22%3A%22char%22}%2C%22id%22%3A{%22type%22%3A%22integer%22}}%2C%22id%22%3A%22ir.model_54%22%2C%22limit%22%3A1%2C%22model%22%3A%22ir.model%22%2C%22offset%22%3A-1%2C%22ref%22%3A380%2C%22res_ids%22%3A[]%2C%22specialData%22%3A{}%2C%22type%22%3A%22record%22%2C%22res_id%22%3A380}%2C%22schedule_date%22%3A%222019-02-10 08%3A15%3A00%22%2C%22create_date%22%3A%222019-02-10 08%3A10%3A46%22} HTTP/1.0" 200

2019-02-11 04:56:36,043 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/ir.attachment/search_read HTTP/1.0" 200 -

2019-02-11 04:56:36,210 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_button HTTP/1.0" 200 -

2019-02-11 04:56:36,322 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/mail.mass_mailing/read HTTP/1.0" 200 -

2019-02-11 04:56:36,414 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/mail.mass_mailing.list/read HTTP/1.0" 200 -

2019-02-11 04:56:36,668 1655 INFO MY_DOMAIN werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "POST /web/dataset/call_kw/ir.attachment/search_read HTTP/1.0" 200 -

2019-02-11 04:56:36,673 1655 INFO werkzeug: MY_IP_ADDRESS - - [11/Feb/2019 04:56:36] "GET /mass_mailing/field/email_template?&model=mail.mass_mailing&field=body_html&res_id=6&callback=FieldTextHtml_60&datarecord={%22id%22%3A6%2C%22active%22%3Atrue%2C%22email_from%22%3A%22the bark bars %3Cinfo%MY_DOMAIN.com%3E%22%2C%22bounced_ratio%22%3A0%2C%22state%22%3A%22in_queue%22%2C%22contact_ab_pc%22%3A100%2C%22reply_to%22%3A%22the bark bars %3Cinfo%MY_DOMAIN.com%3E%22%2C%22failed%22%3A42%2C%22replied_ratio%22%3A0%2C%22keep_archives%22%3Atrue%2C%22reply_to_mode%22%3A%22email%22%2C%22opened_ratio%22%3A0%2C%22clicks_ratio%22%3A0%2C%22mailing_model_real%22%3A%22mail.mass_mailing.contact%22%2C%22next_departure%22%3A%222019-02-11 05%3A03%3A28%22%2C%22mass_mailing_campaign_id%22%3A{%22context%22%3A{}%2C%22count%22%3A0%2C%22data%22%3A{%22display_name%22%3A%22Monthly Email%22%2C%22id%22%3A3}%2C%22domain%22%3A[]%2C%22fields%22%3A{%22display_name%22%3A{%22type%22%3A%22char%22}%2C%22id%22%3A{%22type%22%3A%22integer%22}}%2C%22id%22%3A%22mail.mass_mailing.campaign_55%22%2C%22limit%22%3A1%2C%22model%22%3A%22mail.mass_mailing.campaign%22%2C%22offset%22%3A-1%2C%22ref%22%3A3%2C%22res_ids%22%3A[]%2C%22specialData%22%3A{}%2C%22type%22%3A%22record%22%2C%22res_id%22%3A3}%2C%22received_ratio%22%3A4%2C%22display_name%22%3A%22Newsletter%22%2C%22mailing_model_name%22%3A%22mail.mass_mailing.list%22%2C%22sent_date%22%3A%222019-02-10 08%3A11%3A03%22%2C%22sent%22%3A2%2C%22name%22%3A%22Newsletter%22%2C%22scheduled%22%3A0%2C%22mailing_model_id%22%3A{%22context%22%3A{}%2C%22count%22%3A0%2C%22data%22%3A{%22display_name%22%3A%22Mailing List%22%2C%22id%22%3A380}%2C%22domain%22%3A[]%2C%22fields%22%3A{%22display_name%22%3A{%22type%22%3A%22char%22}%2C%22id%22%3A{%22type%22%3A%22integer%22}}%2C%22id%22%3A%22ir.model_54%22%2C%22limit%22%3A1%2C%22model%22%3A%22ir.model%22%2C%22offset%22%3A-1%2C%22ref%22%3A380%2C%22res_ids%22%3A[]%2C%22specialData%22%3A{}%2C%22type%22%3A%22record%22%2C%22res_id%22%3A380}%2C%22schedule_date%22%3A%222019-02-10 08%3A15%3A00%22%2C%22create_date%22%3A%222019-02-10 08%3A10%3A46%22} HTTP/1.0" 200 -

That looks really strange. Did you try to update the mass mailing module already?

Author

That was a great idea! I went to apps>email marketing> upgrade and got the following error:

Error:

Odoo Server Error

Traceback (most recent call last):

File "/odoo/odoo-server/odoo/tools/convert.py", line 744, in parse

self._tags[rec.tag](rec, de, mode=mode)

File "/odoo/odoo-server/odoo/tools/convert.py", line 722, in _tag_template

return self._tag_record(record, data_node)

File "/odoo/odoo-server/odoo/tools/convert.py", line 654, in _tag_record

id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)

File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1448, in _update

record.write(values)

File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 414, in write

return super(View, self).write(self._compute_defaults(vals))

File "/odoo/odoo-server/odoo/models.py", line 3089, in write

self._write(old_vals)

File "/odoo/odoo-server/odoo/models.py", line 3255, in _write

self._validate_fields(vals)

File "/odoo/odoo-server/odoo/models.py", line 1036, in _validate_fields

check(self)

File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 350, in _check_groups

raise ValidationError(_("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition"))

odoo.exceptions.ValidationError: ("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition", None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/odoo/odoo-server/odoo/http.py", line 650, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/odoo/odoo-server/odoo/http.py", line 310, in _handle_exception

raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

File "/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise

raise value

File "/odoo/odoo-server/odoo/http.py", line 692, in dispatch

result = self._call_function(**self.params)

File "/odoo/odoo-server/odoo/http.py", line 342, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper

return f(dbname, *args, **kwargs)

File "/odoo/odoo-server/odoo/http.py", line 335, in checked_call

result = self.endpoint(*a, **kw)

File "/odoo/odoo-server/odoo/http.py", line 936, in __call__

return self.method(*args, **kw)

File "/odoo/odoo-server/odoo/http.py", line 515, in response_wrap

response = f(*args, **kw)

File "/odoo/odoo-server/addons/web/controllers/main.py", line 938, in call_button

action = self._call_kw(model, method, args, {})

File "/odoo/odoo-server/addons/web/controllers/main.py", line 926, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw

return call_kw_multi(method, model, args, kwargs)

File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi

result = method(recs, *args, **kwargs)

File "<decorator-gen-48>", line 2, in button_immediate_upgrade

File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 71, in check_and_log

return method(self, *args, **kwargs)

File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 603, in button_immediate_upgrade

return self._button_immediate_function(type(self).button_upgrade)

File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 542, in _button_immediate_function

modules.registry.Registry.new(self._cr.dbname, update_module=True)

File "/odoo/odoo-server/odoo/modules/registry.py", line 85, in new

odoo.modules.load_modules(registry._db, force_demo, status, update_module)

File "/odoo/odoo-server/odoo/modules/loading.py", line 376, in load_modules

force, status, report, loaded_modules, update_module, models_to_check)

File "/odoo/odoo-server/odoo/modules/loading.py", line 274, in load_marked_modules

perform_checks=perform_checks, models_to_check=models_to_check

File "/odoo/odoo-server/odoo/modules/loading.py", line 181, in load_module_graph

_load_data(cr, module_name, idref, mode, kind='data')

File "/odoo/odoo-server/odoo/modules/loading.py", line 95, in _load_data

tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

File "/odoo/odoo-server/odoo/tools/convert.py", line 791, in convert_file

convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

File "/odoo/odoo-server/odoo/tools/convert.py", line 852, in convert_xml_import

obj.parse(doc.getroot(), mode=mode)

File "/odoo/odoo-server/odoo/tools/convert.py", line 751, in parse

exc_info[2]

File "/odoo/odoo-server/odoo/tools/pycompat.py", line 86, in reraise

raise value.with_traceback(tb)

File "/odoo/odoo-server/odoo/tools/convert.py", line 744, in parse

self._tags[rec.tag](rec, de, mode=mode)

File "/odoo/odoo-server/odoo/tools/convert.py", line 722, in _tag_template

return self._tag_record(record, data_node)

File "/odoo/odoo-server/odoo/tools/convert.py", line 654, in _tag_record

id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)

File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1448, in _update

record.write(values)

File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 414, in write

return super(View, self).write(self._compute_defaults(vals))

File "/odoo/odoo-server/odoo/models.py", line 3089, in write

self._write(old_vals)

File "/odoo/odoo-server/odoo/models.py", line 3255, in _write

self._validate_fields(vals)

File "/odoo/odoo-server/odoo/models.py", line 1036, in _validate_fields

check(self)

File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 350, in _check_groups

raise ValidationError(_("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition"))

odoo.tools.convert.ParseError: "Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition

None" while parsing None:70, near

<t t-name="website_mass_mailing.social_links">

<t t-if="website.social_facebook">

<a t-att-href="website.social_facebook">

<span class="fa fa-facebook"/>

</a>

</t>

<t t-if="website.social_googleplus">

<a t-att-href="website.social_googleplus" style="margin-left:10px">

<span class="fa fa-google-plus"/>

</a>

</t>

<t t-if="website.social_linkedin">

<a t-att-href="website.social_linkedin" style="margin-left:10px">

<span class="fa fa-linkedin"/>

</a>

</t>

<t t-if="website.social_twitter">

<a t-att-href="website.social_twitter" style="margin-left:10px">

<span class="fa fa-twitter"/>

</a>

</t>

</t>

Author

I actually ended up exporting all of my contacts, emails, and campaigns. Then I removed the module and reinstalled it. It works just fine now. Thanks for all of your help!

Author

I actually ended up exporting all of my contacts, emails, and campaigns. Then I removed the module and reinstalled it. It works just fine now. Thanks for all of your help!

Author Best Answer

I was able to fix the issue by exporting all of the module’s data, removing the module, reinstalled the module, and then imported all of the data. Everything works fine now. 

Avatar
Discard
Best Answer

Have you tried turning it on and off again? 

Avatar
Discard
Author

Can you specify, what you’re thinking I should turn off and back on? I have already restarted the server as a whole. If you mean turn off email marketing, how do you do that?

Related Posts Replies Views Activity
1
May 20
2354
1
Mar 24
583
2
Jul 22
7405
1
Jun 21
1058
1
Apr 21
1095