Logo
Explore Help
Sign In
darkhelm/notifications-api
1
0
Fork 0
You've already forked notifications-api
mirror of https://github.com/GSA/notifications-api.git synced 2025-12-12 08:12:27 -05:00
Code Issues Packages Projects Releases Wiki Activity
Files
553ef6bfc852eee5be488b76dbb558d1b9c4b3f4
notifications-api/test_csv_files/multiple_email.csv

12 lines
164 B
CSV
Raw Normal View History

Replace placeholders before sending a message This commit replaces placeholders in a template with the user’s data, using the Template class from utils (https://github.com/alphagov/notifications-utils/tree/master/utils#template) It also extracts the personalisation data from the CSV, taking account of the different column headings that SMS and email CSVs will have. At the point of creating the task to send an individual messages, validation of the placeholders matching the template is assumed to have been done either: - in processing the CSV in the admin app - in the endpoint for the API call No exceptions should be raised at this point.
2016-02-29 14:43:44 +00:00
email address
Renamed the header of the CSV to 'to' from 'number' to allow for email jobs - added new columns to Job and Notification to capture the start/end dates accurately
2016-02-25 09:59:50 +00:00
test1@test.com
test2@test.com
test3@test.com
test4@test.com
test5@test.com
test6@test.com
test7@test.com
test8@test.com
test9@test.com
test0@test.com
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 1890ms Template: 103ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API