This is a (currently draft) API service to send emails and other information based on templates and double opt-ins from form submissions.

applications.json 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "contact": {
  3. "to": [
  4. "contact@fsfe.org"
  5. ],
  6. "include_vars": true,
  7. "redirect": "https://fsfe.org/contact/contact-thankyou",
  8. "template": "contact-form"
  9. },
  10. "art13contact": {
  11. "to": [
  12. "contact@fsfe.org"
  13. ],
  14. "include_vars": true,
  15. "redirect": "https://savecodeshare.eu/thank-you",
  16. "template": "contact-form"
  17. },
  18. "art13-presignup": {
  19. "from": "no-reply@fsfe.org",
  20. "to": [
  21. "jonas@fsfe.org",
  22. "diana@openforumeurope.org"
  23. ],
  24. "include_vars": true,
  25. "confirm": true,
  26. "redirect": "https://savecodeshare.eu/thank-you-signup",
  27. "redirect-confirmed": "https://savecodeshare.eu/thank-you-confirmed",
  28. "store": "/store/art13/presignup.json",
  29. "subject": "New signup to savecodeshare",
  30. "confirmation-template": "art13-presignup-confirm",
  31. "confirmation-subject": "Just one step left! Confirm your email to save code share!",
  32. "template": "art13-presignup"
  33. },
  34. "pmpc-sign": {
  35. "from": "admin@fsfe.org",
  36. "to": [ "contact@fsfe.org" ],
  37. "headers": {
  38. "X-OTRS-Queue": "PMPC"
  39. },
  40. "subject": "New signature to PMPC",
  41. "include_vars": true,
  42. "confirm": true,
  43. "redirect": "https://publiccode.eu/openletter/confirm",
  44. "redirect-confirmed": "https://publiccode.eu/openletter/success",
  45. "template": "pmpc-sign",
  46. "confirmation-template": "pmpc-confirm",
  47. "confirmation-subject": "Public Code: Please confirm your signature",
  48. "store": "/store/pmpc/signatures.json"
  49. },
  50. "reuse-signup": {
  51. "from": "no-reply@fsfe.org",
  52. "to": [ "jonas@fsfe.org" ],
  53. "subject": "New signup to REUSE",
  54. "confirm": true,
  55. "include_vars": true,
  56. "redirect": "https://reuse.software/sign-confirm",
  57. "redirect-confirmed": "https://reuse.software/sign-success",
  58. "template": "reuse-signup",
  59. "store": "/store/reuse/signups.json",
  60. "confirmation-template": "reuse-signup-confirm",
  61. "confirmation-subject": "Just one step left! Confirm your email for REUSE!"
  62. }
  63. }