Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Sorry, too many emails

By
Ludovic CHEVALIER
on 1/15/16, 10:19 AM 499 views

Hi!

I'm trying to use the mass mailing tool in 7.0 version.
I've defined an smtp authentification and it seems to work.

I use this trick: https://www.odoo.com/fr_FR/forum/help-1/question/how-to-send-email-to-each-contact-2392

If it works for 30 customers, for 4000, it doesn't work at all and I have those error messages:

2016-01-15_15:04:56.01868 Traceback (most recent call last):
2016-01-15_15:04:56.01869 File "/usr/lib/pymodules/python2.7/openerp/addons/mail/mail_mail.py", line 308, in send mail_server_id=mail.mail_server_id.id, context=context)
2016-01-15_15:04:56.01871   File 
"/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_mail_server.py",
 line 476, in send_email
2016-01-15_15:04:56.01872 raise MailDeliveryException(_("Mail delivery failed"), msg)
2016-01-15_15:04:56.01873
 MailDeliveryException: (u"\xc9chec de l'envoi du courriel", u"\xc9chec 
de l'envoi du courriel via le serveur SMTP 'pouet.pouet.net'.\nSMTPRecipientsRefused: {'pouet@hotmail.com': (555, 'sorry, too many emails [mail432] (#5.7.1)')}")
2016-01-15_15:04:59.08364
 2016-01-15 15:04:59,083 8496 ERROR openerp7_pouet 
openerp.addons.base.ir.ir_mail_server: Échec de l'envoi du courriel via 
le serveur SMTP 'pouet.pouet.net'.
2016-01-15_15:04:59.08368 SMTPRecipientsRefused: {'pouet@gmail.com': (555, 'sorry, too many emails [mail432] (#5.7.1)')}



Is there a way to tell to openerp sending email in batch mode or other solution for this problem?



Bye!


Ludo

0

Ermin Trevisan

--Ermin Trevisan--
3524
| 6 3 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 1/15/16, 10:32 AM

You should ask your SMTP provider about his mass mailing policies and service offerings. Otherwise you have to look for an appropriate provider.

Just as an example: my regular mail provider has a policy which allows not more than 2 mails per second and not more than 500 a day and if the sender server IP is from a foreign country, the IP must be whitelisted first.

I ended up using Amazon SES as SMTP.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/15/16, 10:19 AM
Seen: 499 times
Last updated: 1/15/16, 10:32 AM