File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
openedx/core/djangoapps/notifications/email Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1010from django .contrib .auth import get_user_model
1111from django .db import transaction
1212from django .utils .translation import gettext as _ , override as translation_override
13- from edx_ace import ace , presentation
14- from edx_ace .channel .django_email import DjangoEmailChannel
13+ from edx_ace import ace
1514from edx_ace .recipient import Recipient
1615from edx_django_utils .monitoring import set_code_owner_attribute
1716from opaque_keys .edx .keys import CourseKey
@@ -460,15 +459,10 @@ def send_buffered_digest(
460459 recipient = Recipient (user .id , user .email )
461460 message = EmailNotificationMessageType (
462461 app_label = "notifications" ,
463- name = "email_digest "
462+ name = "batched_email "
464463 ).personalize (recipient , user_language , message_context )
465464
466465 message = add_headers_to_email_message (message , message_context )
467-
468- render_msg = presentation .render (DjangoEmailChannel , message )
469-
470- print (render_msg .body ) # For debugging purposes
471- print (render_msg .body_html )
472466 ace .send (message )
473467
474468 # Mark ALL as sent and clear scheduled flag
You can’t perform that action at this time.
0 commit comments