mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
update research mode email callbacks to add process-ses-response task to queue
this involved: * moving that task to callback_tasks to prevent circular imports * updating the dummy research mode callbacks (with actual SNS messages from the ses simulator emails) * refactoring tests
This commit is contained in:
@@ -126,7 +126,7 @@ def send_email_to_provider(notification):
|
||||
notification.billable_units = 0
|
||||
notification.reference = reference
|
||||
update_notification(notification, provider)
|
||||
send_email_response(provider.get_name(), reference, notification.to)
|
||||
send_email_response(reference, notification.to)
|
||||
else:
|
||||
from_address = '"{}" <{}@{}>'.format(service.name, service.email_from,
|
||||
current_app.config['NOTIFY_EMAIL_DOMAIN'])
|
||||
|
||||
Reference in New Issue
Block a user