Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SendGrid New Features #sgnight7

SendGrid New Features #sgnight7

SendGrid Night #7( https://eventdots.jp/event/615303/ )の発表資料です。
SendGridで最近追加された新機能について紹介しました。

nakansuke

March 28, 2017
Tweet

More Decks by nakansuke

Other Decks in Technology

Transcript

  1. Who am I ? ,"/46,& /","* 4FOE(SJEΤόϯδΣϦετ ⿣  ߏ଄ܭըݚڀॴ(SendGrid೔ຊ୅ཧళ) ۈ຿

    ⿣  SendGridͷັྗΛ఻͑ΔͨΊ೔ʑຉ૸த ⿣  ༷ʑͳٕज़ऀίϛϡχςΟʹࢀՃ @nakansuke [email protected] http://nakansuke.hatenablog.com/
  2. ձࣾ঺հ ૑ۀ ઃཱ ୅දऀ ࢿຊۚ ॴһ਺ ্৔ࢢ৔ ࣄۀॴ ೥݄ ೥݄

    ୅දऔక໾ࣾ௕$&0ɹ෰෦ਖ਼ଠ ԯສԁ ໊ʢ೥݄೔࣌఺ʣ +"4%"2ʢ೥݄גࣜެ։ʣ ຊॴɹ౦ژ౎த໺۠ ۽ຊߏ଄ܭըݚڀॴɹ۽ຊݝ٠஑܊ େࡕࢧࣾɹେࡕ෎େࡕࢢதԝ۠ ໊ݹ԰ࢧࣾɹѪ஌ݝ໊ݹ԰ࢢத۠ ෱Ԭࢧࣾɹ෱Ԭݝ෱Ԭࢢതଟ۠ ্ւறࡏһࣄ຿ॴɹத՚ਓຽڞ࿨ࠃ্ւࢢ σϯόʔறࡏһࣄ຿ॴɹΞϝϦΧίϩϥυभ ,,&4*/("103&15&-5%ɹγϯΨϙʔϧ
  3. Ϧετ/ηάϝϯτ ⿣  Ϧετ ੩త ͱηάϝϯτ ಈత  ⿣  ηάϝϯτΛར༻͢Δͱɺྫ͑͹ɺ લճͷϝʔϧΛ։෧ͨ͠ਓͱ͍͏

    ѼઌϦετΛ؆୯ʹ࡞੒Մೳ ⿣  ηάϝϯτ͸σʔλ΍Πϕϯτͷ ௥ՃʹԠͯ͡ಈతʹมߋ͞ΕΔ
  4. API v3 Mail Send ⿣  ඞཁͳύϥϝʔλ͸+40/Ͱ౉͢︎ ⿣  ϦΫΤετͰͷେྔૹ৴ ⿣  ࠩ͠ࠐΈ︎

    ⿣  ఴ෇ϑΝΠϧ#BTFΤϯίʔυ ⿣  ֤छػೳͷ0O0⒎੾Γସ͑ # POST /v3/mail/send + Request (application/json) + Headers Authorization: Bearer SG.API_KEY + Body { "from": {"name": "Scott", "email": "[email protected]"}, "subject": "Hello World", "personalizations": [ { "to": [ {"name": "Test", "email": "[email protected]"} ] } ], "content": [ {"type": "text/plain", "value": "Hello World"}, {"type": "text/html", "value": "<h1>Hello World</h1>"} ] }