We have enabled bulk course emails on our site and read in the documentation that we should be able to use keywords in the messages. Bulk Email Documenation
Is there any way to use keywords and edX ACE and keywords at the same time or is the only solution to not use edX ACE? If that’s the case, how can I customize the email sent with Django Email?
Yes keyword substitution is not supported in case of sending bulk course email via edX ACE I guess that is because in case of edX ACE file based template is used instead of pulling from DB. You can use open edX theming capabilities to theme/customize your edX ACE templates. You can override default bulk course email template and use any of these variables in your custom template.
@Zia_Fazal thank you for your reply! Can these be used within the message body or can they only be used within the template? Ideally we would like to enable our instructors and content providers to use these freely within their messages.
@Zia_Fazal I was just able to test and confirm these variables cannot be used in the message body. Theming the emails seems straightforward enough, but I will have to see if it will suit our needs in the long term.
I’ve figured out how to switch back to using the basic Django email by setting BULK_EMAIL_SEND_USING_EDX_ACE = False in development.py. This allows for using the keyword variables mentioned in the documentation.
From what I’ve been able to tell thus far, the downside is that template can only be managed in Django Admin under Bulk_Email > Course email templates (https://www.example.com/admin/bulk_email/courseemailtemplate/). Here you can either edit/create a template with the name field set to empty which will be used as the default, or create a new named template and add "course_email_template_name":"my_template" to your site configuration.