fix: Email sent via ACE cannot use Braze as a mail-delivery backend unless
a valid LMS user ID is supplied. If Braze cannot be used, AWS SES is used instead. However, sometimes the SES score can prevent email from being delivered. Make a best effort in every case to obtain a user ID and send it along with the email to be sent by ACE and Braze. TNL-9417
This commit is contained in:
@@ -709,6 +709,7 @@ def create_and_enroll_user(
|
||||
email_params.update({
|
||||
'message_type': 'account_creation_and_enrollment',
|
||||
'email_address': email,
|
||||
'user_id': user.id,
|
||||
'password': password,
|
||||
'platform_name': configuration_helpers.get_value('platform_name', settings.PLATFORM_NAME),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user