![gmail bulk email gmail bulk email](https://cdn.ilovefreesoftware.com/wp-content/uploads/2013/03/Bulk-Gmail-Checker-working.jpg)
Lms-worker_1 | File "/opt/pyenv/versions/3.8.6/lib/python3.8/smtplib.py", line 871, in sendmail Lms-worker_1 | (from_email, recipients, message.as_bytes(linesep='\r\n')) Lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 126, in _send Lms-worker_1 | sent = self._send(message) Lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 110, in send_messages Lms-worker_1 | File "/openedx/edx-platform/lms/djangoapps/bulk_email/tasks.py", line 581, in _send_course_email Lms-worker_1 | Traceback (most recent call last): The same error still occurs and the emails error out after 90+ sends: lms-worker_1 | 02:20:56,892 ERROR 107 tasks.py:699 - Task 1af6ac0c-d92e-421b-aab0-4b7893f84c74: email with id 30 caused send_course_email task to fail with u"fatal" exception. I tried to send emails in a class with ~130 students enrolled.
![gmail bulk email gmail bulk email](https://i0.wp.com/img.labnol.org/di/bulk-gmail-printing.png)
I have tested this now by creating a plugin per the instructions. [36 1mlms-worker_1 |[0m smtplib.SMTPSenderRefused: (421, b'4.7.0 Try again later, closing connection. [36 1mlms-worker_1 |[0m raise SMTPSenderRefused(code, resp, from_addr) [36 1mlms-worker_1 |[0m (from_email, recipients, message.as_bytes(linesep='\r\n')) [36 1mlms-worker_1 |[0m File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 126, in _send [36 1mlms-worker_1 |[0m sent = self._send(message) [36 1mlms-worker_1 |[0m File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 110, in send_messages [36 1mlms-worker_1 |[0m File "/openedx/edx-platform/lms/djangoapps/bulk_email/tasks.py", line 581, in _send_course_email [36 1mlms-worker_1 |[0m raise send_exception # pylint: disable=raising-bad-type [36 1mlms-worker_1 |[0m File "/openedx/edx-platform/lms/djangoapps/bulk_email/tasks.py", line 334, in send_course_email [36 1mlms-worker_1 |[0m return wrapped_function(*args, **kwargs) [36 1mlms-worker_1 |[0m File "/openedx/venv/lib/python3.8/site-packages/edx_django_utils/monitoring/internal/code_owner/utils.py", line 179, in new_function [36 1mlms-worker_1 |[0m File "/openedx/venv/lib/python3.8/site-packages/celery/app/trace.py", line 704, in _protected_call_ [36 1mlms-worker_1 |[0m R = retval = fun(*args, **kwargs)
![gmail bulk email gmail bulk email](https://i.ytimg.com/vi/cKbDzU8-VvI/maxresdefault.jpg)
[36 1mlms-worker_1 |[0m File "/openedx/venv/lib/python3.8/site-packages/celery/app/trace.py", line 412, in trace_task [36 1mlms-worker_1 |[0m Traceback (most recent call last): My secondary question is, when an email sending errors out like this, is there any way to pick it back up again, or do I just have to accept that ~120 people will get the same message again? (if I can find a way to resolve this issue.
![gmail bulk email gmail bulk email](https://i.ytimg.com/vi/XWu57jWuci4/maxresdefault.jpg)
So my question is: is there a way to slow down mail sending so that it doesn’t get blocked?
GMAIL BULK EMAIL HOW TO
They then showed me how to look up a log and it indeed seemed to be sending at a rate of about 2 per second. I contacted google support and confirmed the sending account itself is not blocked for exceeding the daily limit, and they suggested it was probably sending too fast, and that you’re only allowed to connect once per second. The logs show an SMTP error 421 “try again later” (see below). But it said it successfully sent to ~120 of them, before it errored out for the rest. Today I tried to send a bulk email to about 1300 class participants. I talked with google customer service the other day and they assured me that it’s possible for an account to send to up to 2000 emails per day.