Skip to Content
Menu
This question has been flagged
1 Reply
3755 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

Avatar
Discard
Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 17
1815
0
Mar 15
4757
0
Oct 22
890
0
Feb 17
2418
3
May 15
3721