hi,
What I have configured is the following:
- plugin to enable sending from an email account
name: email_account
version: 0.1.0
patches:
lms-env: |
"EMAIL_HOST_PASSWORD": "PASSWORD",
"EMAIL_HOST_USER": "sbernesto@mail.com",
"EMAIL_HOST": "mail.com",
"EMAIL_PORT": 465,
"EMAIL_USE_TLS": true
-
In admin / bulk_email / bulkemailflag I add the active flag
-
I have this error in the control panel
-
In the logs i doesn’t have error, i think
lms_1 | 2021-09-06 21:22:08,490 INFO 121 [tracking] [user 3] [ip 172.16.10.1] logger.py:41 - {"name": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/send_email", "context": {"course_id": "course-v1:edX+DemoX+Demo_Course", "course_user_tags": {}, "user_id": 3, "path": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/send_email", "org_id": "edX"}, "username": "sbernesto", "session": "a2e3f66c7ac76edcd1eeb955971f229f", "ip": "172.16.10.1", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36", "host": "edxlilac.bunited.local", "referer": "http://edxlilac.bunited.local/courses/course-v1:edX+DemoX+Demo_Course/instructor", "accept_language": "es-ES,es;q=0.9", "event": "{\"GET\": {}, \"POST\": {\"action\": [\"send\"], \"send_to\": [\"[\\\"myself\\\"]\"], \"subject\": [\"asdasdsadasdasdasdsadasdasdasds\"], \"message\": [\"<pre class=\\\"tw-data-text tw-text-large XcVN5d tw-ta\\\" data-placeholder=\\\"Traducci\\u00f3n\\\" id=\\\"tw-target-text\\\" dir=\\\"ltr\\\" style=\\\"font-family: inherit; unicode-bidi: isolate; font-size: 28px; line-height: 36px; background-color: #f8f9fa; border: none; padding: 2px 0.14em 2px 0px; position: relative; margin-top: -2px; margin-bottom: -2px; resize: none; overflow: hidden; width", "time": "2021-09-06T21:22:08.490065+00:00", "event_type": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/send_email", "event_source": "server", "page": null}
lms_1 | 2021-09-06 21:22:08,546 WARNING 121 [lms.djangoapps.instructor_task.api_helper] [user 3] [ip 172.16.10.1] api_helper.py:89 - No duplicate tasks found: task_type bulk_course_email, task_key e4da3b7fbbce2345d7772b0674a318d5, and most recent task_id = 6
lms_1 | [pid: 121|app: 0|req: 16/194] 172.18.0.16 () {54 vars in 3489 bytes} [Mon Sep 6 21:22:08 2021] POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/send_email => generated 71 bytes in 121 msecs (HTTP/1.0 200) 9 headers in 584 bytes (1 switches on core 0)
lms_1 | 2021-09-06 21:22:14,492 INFO 117 [tracking] [user 3] [ip 172.16.10.1] logger.py:41 - {"name": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "context": {"course_id": "course-v1:edX+DemoX+Demo_Course", "course_user_tags": {}, "user_id": 3, "path": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "org_id": "edX"}, "username": "sbernesto", "session": "a2e3f66c7ac76edcd1eeb955971f229f", "ip": "172.16.10.1", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36", "host": "edxlilac.bunited.local", "referer": "http://edxlilac.bunited.local/courses/course-v1:edX+DemoX+Demo_Course/instructor", "accept_language": "es-ES,es;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2021-09-06T21:22:14.492716+00:00", "event_type": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "event_source": "server", "page": null}
lms_1 | [pid: 117|app: 0|req: 17/195] 172.18.0.16 () {52 vars in 3445 bytes} [Mon Sep 6 21:22:14 2021] POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks => generated 17 bytes in 36 msecs (HTTP/1.0 200) 9 headers in 584 bytes (1 switches on core 0)
lms_1 | 2021-09-06 21:22:19,070 INFO 120 [tracking] [user 3] [ip 172.16.10.1] logger.py:41 - {"name": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "context": {"course_id": "course-v1:edX+DemoX+Demo_Course", "course_user_tags": {}, "user_id": 3, "path": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "org_id": "edX"}, "username": "sbernesto", "session": "a2e3f66c7ac76edcd1eeb955971f229f", "ip": "172.16.10.1", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36", "host": "edxlilac.bunited.local", "referer": "http://edxlilac.bunited.local/courses/course-v1:edX+DemoX+Demo_Course/instructor", "accept_language": "es-ES,es;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2021-09-06T21:22:19.070585+00:00", "event_type": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "event_source": "server", "page": null}
lms_1 | [pid: 120|app: 0|req: 16/196] 172.18.0.16 () {52 vars in 3445 bytes} [Mon Sep 6 21:22:19 2021] POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks => generated 17 bytes in 34 msecs (HTTP/1.0 200) 9 headers in 584 bytes (1 switches on core 0)
lms_1 | 2021-09-06 21:22:28,481 INFO 116 [tracking] [user 3] [ip 172.16.10.1] logger.py:41 - {"name": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_background_email_tasks", "context": {"course_id": "course-v1:edX+DemoX+Demo_Course", "course_user_tags": {}, "user_id": 3, "path": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_background_email_tasks", "org_id": "edX"}, "username": "sbernesto", "session": "a2e3f66c7ac76edcd1eeb955971f229f", "ip": "172.16.10.1", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36", "host": "edxlilac.bunited.local", "referer": "http://edxlilac.bunited.local/courses/course-v1:edX+DemoX+Demo_Course/instructor", "accept_language": "es-ES,es;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2021-09-06T21:22:28.481331+00:00", "event_type": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_background_email_tasks", "event_source": "server", "page": null}
lms_1 | [pid: 116|app: 0|req: 16/197] 172.18.0.16 () {52 vars in 3457 bytes} [Mon Sep 6 21:22:28 2021] POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_background_email_tasks => generated 1444 bytes in 83 msecs (HTTP/1.0 200) 9 headers in 586 bytes (1 switches on core 0)
lms_1 | 2021-09-06 21:22:34,496 INFO 7 [tracking] [user 3] [ip 172.16.10.1] logger.py:41 - {"name": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "context": {"course_id": "course-v1:edX+DemoX+Demo_Course", "course_user_tags": {}, "user_id": 3, "path": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "org_id": "edX"}, "username": "sbernesto", "session": "a2e3f66c7ac76edcd1eeb955971f229f", "ip": "172.16.10.1", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36", "host": "edxlilac.bunited.local", "referer": "http://edxlilac.bunited.local/courses/course-v1:edX+DemoX+Demo_Course/instructor", "accept_language": "es-ES,es;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2021-09-06T21:22:34.496076+00:00", "event_type": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "event_source": "server", "page": null}
lms_1 | [pid: 7|app: 0|req: 15/198] 172.18.0.16 () {52 vars in 3445 bytes} [Mon Sep 6 21:22:34 2021] POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks => generated 17 bytes in 44 msecs (HTTP/1.0 200) 9 headers in 584 bytes (1 switches on core 0)
lms_1 | 2021-09-06 21:22:39,088 INFO 118 [tracking] [user 3] [ip 172.16.10.1] logger.py:41 - {"name": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "context": {"course_id": "course-v1:edX+DemoX+Demo_Course", "course_user_tags": {}, "user_id": 3, "path": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "org_id": "edX"}, "username": "sbernesto", "session": "a2e3f66c7ac76edcd1eeb955971f229f", "ip": "172.16.10.1", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36", "host": "edxlilac.bunited.local", "referer": "http://edxlilac.bunited.local/courses/course-v1:edX+DemoX+Demo_Course/instructor", "accept_language": "es-ES,es;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2021-09-06T21:22:39.086132+00:00", "event_type": "/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks", "event_source": "server", "page": null}
lms_1 | [pid: 118|app: 0|req: 17/199] 172.18.0.16 () {52 vars in 3445 bytes} [Mon Sep 6 21:22:39 2021] POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_instructor_tasks => generated 17 bytes in 58 msecs (HTTP/1.0 200) 9 headers in 584 bytes (1 switches on core 0)
Tutor version tutor, version 12.0.4
What I see that in this version I no longer see the same error in the log, but the capture shows, error when sending the mail.