UNPKG

@longnc/themartec-smtpapi

Version:

Build SendGrid X-SMTPAPI headers in nodejs. And this version for upgrade some packages to latest and fix security

25 lines (24 loc) 1.67 kB
{ "json_string": "{}", "add_to": "{\"to\":[\"addTo@mailinator.com\"]}", "set_tos": "{\"to\":[\"setTos@mailinator.com\"]}", "add_substitution": "{\"sub\":{\"sub\":[\"val\"]}}", "add_substitution_array_value": "{\"sub\":{\"sub\":[\"val 1\",\"val 2\"]}}", "set_substitutions": "{\"sub\":{\"sub\":[\"val\"]}}", "add_unique_arg": "{\"unique_args\":{\"add_unique_argument_key\":\"add_unique_argument_value\",\"add_unique_argument_key_2\":\"add_unique_argument_value_2\"}}", "set_unique_args": "{\"unique_args\":{\"set_unique_argument_key\":\"set_unique_argument_value\"}}", "add_category": "{\"category\":[\"addCategory\",\"addCategory2\"]}", "add_category_array": "{\"category\":[\"addCategory\"]}", "add_category_unicode": "{\"category\":[\"\\u30ab\\u30c6\\u30b4\\u30eaUnicode\",\"\\u30ab\\u30c6\\u30b4\\u30ea2Unicode\"]}", "set_categories": "{\"category\":[\"setCategories\"]}", "add_section": "{\"section\":{\"set_section_key\":\"set_section_value\",\"set_section_key_2\":\"set_section_value_2\"}}", "set_sections": "{\"section\":{\"set_section_key\":\"set_section_value\"}}", "add_filter": "{\"filters\":{\"footer\":{\"settings\":{\"text/html\":\"<strong>boo</strong>\"}}}}", "set_filters": "{\"filters\":{\"footer\":{\"setting\":{\"enable\":1,\"text/plain\":\"You can haz footers!\"}}}}", "set_send_at": "{\"send_at\":1409348513}", "set_batch_id": "{\"batch_id\":\"apples\"}", "set_send_each_at": "{\"send_each_at\":[1409348513,1409348514,1409348515]}", "add_send_each_at": "{\"send_each_at\":[1409348513,1409348514,1409348515]}", "set_asm_group_id": "{\"asm_group_id\":123}", "set_ip_pool": "{\"ip_pool\":\"testPool\"}" }