Advertisement
Guest User

Untitled

a guest
Apr 17th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. curl -X POST -H "Authorization: Bearer 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" -H "Cache-Control: no-cache" -H "Content-Type: application/json" -d '{
  2. "personalizations": [{
  3. "to": [{
  4. "email": "robin.rosiers1@gmail.com"
  5. }],
  6. "subject": "RPR Gapersrit 2017 - Uw betaling werd ontvangen.",
  7. "substitutions": {
  8. ":year": "2017",
  9. ":bedrag": "51,00 euro"
  10. }
  11. }],
  12. "from": {
  13. "email": "system@rallypodium.be",
  14. "name": "RallyPodium & Reporting"
  15. },
  16. "reply_to": {
  17. "email": "contact@rallypodium.be",
  18. "name": "RallyPodium & Reporting"
  19. },
  20. "content": [{
  21. "type": "text/html",
  22. "value": "Heya!"
  23. }],
  24. "template_id": "a5e88077-f84a-4158-8aed-638050b80693"
  25. }' "https://api.sendgrid.com/v3/mail/send"
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. curl -X POST -H "Authorization: Bearer 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" -H "Cache-Control: no-cache" -H "Content-Type: application/json" -d '{
  36. "personalizations": [{
  37. "to": [{
  38. "email": "robin.rosiers1@gmail.com"
  39. }],
  40. "subject": "RPR Gapersrit 2017 - Uw betaling werd ontvangen.",
  41. "substitutions": {
  42. ":year": "2017",
  43. ":bedrag": "51,00 euro",
  44. ":beddetail": "15€ inschrijving + 2 x 18€ maaltijd (2x stoofvlees met frietjes)"
  45. }
  46. }],
  47. "from": {
  48. "email": "system@rallypodium.be",
  49. "name": "RallyPodium & Reporting"
  50. },
  51. "reply_to": {
  52. "email": "contact@rallypodium.be",
  53. "name": "RallyPodium & Reporting"
  54. },
  55. "content": [{
  56. "type": "text/html",
  57. "value": "Heya!"
  58. }],
  59. "template_id": "53f5219e-2c75-4962-ab14-74f4526cf534"
  60. }' "https://api.sendgrid.com/v3/mail/send"
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. curl -X POST -H "Authorization: Bearer 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" -H "Cache-Control: no-cache" -H "Content-Type: application/json" -d '{
  71. "personalizations": [{
  72. "to": [{
  73. "email": "robin.rosiers1@gmail.com"
  74. }],
  75. "subject": "RPR Gapersrit 2017 - Uw inschrijving is bevestigd.",
  76. "substitutions": {
  77. ":year": "2017",
  78. ":num": "3e",
  79. ":startnum": "S1",
  80. ":class": "Sport"
  81. }
  82. }],
  83. "from": {
  84. "email": "system@rallypodium.be",
  85. "name": "RallyPodium & Reporting"
  86. },
  87. "reply_to": {
  88. "email": "contact@rallypodium.be",
  89. "name": "RallyPodium & Reporting"
  90. },
  91. "content": [{
  92. "type": "text/html",
  93. "value": "Heya!"
  94. }],
  95. "template_id": "6bcb2508-8aa9-4e77-910b-231041ffef11"
  96. }' "https://api.sendgrid.com/v3/mail/send"
  97.  
  98.  
  99.  
  100.  
  101. http://www.textfixer.com/tools/remove-line-breaks.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement