{"id":1477,"date":"2014-07-25T10:06:08","date_gmt":"2014-07-25T01:06:08","guid":{"rendered":"https:\/\/ec2-54-238-200-5.ap-northeast-1.compute.amazonaws.com\/blog\/?p=1477"},"modified":"2019-03-28T17:32:55","modified_gmt":"2019-03-28T08:32:55","slug":"template-engine-%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab","status":"publish","type":"post","link":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=1477","title":{"rendered":"Template Engine \u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb"},"content":{"rendered":"<p style=\"margin-bottom:0;\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial_Title.png\" alt=\"Template Engine \u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\" width=\"96%\" class=\"alignnone size-full wp-image-1478\" style=\"margin:0;padding:2%;background-color:#F7F7F7;\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial_Title.png 878w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial_Title-300x148.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial_Title-768x380.png 768w\" sizes=\"(max-width: 878px) 100vw, 878px\" \/><\/p>\n<blockquote>\n<p>\u3053\u306e\u8a18\u4e8b\u306f <a href=\"http:\/\/sendgrid.com\/blog\/sendgrids-transactional-email-template-engine-tutorial\/\" target=\"_blank\">SendGrid\u2019s Template Engine Tutorial<\/a> \u306e\u6284\u8a33\u3067\u3059\u3002<\/p>\n<\/blockquote>\n<p><a href=\"https:\/\/ec2-54-238-200-5.ap-northeast-1.compute.amazonaws.com\/blog\/?p=1454\" title=\"\u65b0\u6a5f\u80fd Template Engine \u30ea\u30ea\u30fc\u30b9\u306e\u304a\u77e5\u3089\u305b\" target=\"_blank\">\u524d\u56de<\/a>\u3054\u7d39\u4ecb\u3057\u305f\u3088\u3046\u306b\u3001Template Engine\u3092\u4f7f\u3046\u3068\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30c1\u30fc\u30e0\u3068\u958b\u767a\u30c1\u30fc\u30e0\u306e\u9593\u306e\u58c1\u3092\u53d6\u308a\u6255\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30de\u30fc\u30b1\u30bf\u30fc\u306f\u81ea\u5206\u9054\u3067\u7c21\u5358\u306b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u7ba1\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u958b\u767a\u8005\u3082\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u767a\u306b\u96c6\u4e2d\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u305d\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u5177\u4f53\u7684\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4f5c\u6210<\/strong><\/h4>\n<p>\u307e\u305a\u306f\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001Apps\u306e<a href=\"https:\/\/sendgrid.com\/templates\" target=\"_blank\">Template Engine<\/a>\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u300cCreate Template\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial01.png\" alt=\"Create Template \u30dc\u30bf\u30f3\u306e\u30af\u30ea\u30c3\u30af\" width=\"50%\" class=\"alignnone size-full wp-image-1479\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial01.png 310w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial01-300x90.png 300w\" sizes=\"(max-width: 310px) 100vw, 310px\" \/><\/p>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3001\u4fdd\u5b58\uff08Save\uff09\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial02.png\" alt=\"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u540d\u306e\u5165\u529b\" width=\"80%\" class=\"alignnone size-full wp-image-1480\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial02.png 654w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial02-300x60.png 300w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/p>\n<p>\u30c7\u30b6\u30a4\u30f3\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u3053\u3067\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u540d\u524d\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u7de8\u96c6\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial03.png\" alt=\"\u30c7\u30b6\u30a4\u30f3\u753b\u9762\" width=\"80%\" class=\"alignnone size-full wp-image-1481\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial03.png 688w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial03-300x176.png 300w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/p>\n<p>\u672c\u6587\u306e\u7de8\u96c6\u306b\u306f\u3001WYSIWYG\u30a8\u30c7\u30a3\u30bf\u304c\u3054\u5229\u7528\u3044\u305f\u3060\u3051\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial04.png\" alt=\"WYSIWYG\u30a8\u30c7\u30a3\u30bf\" width=\"60%\" class=\"alignnone size-full wp-image-1482\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial04.png 359w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial04-300x173.png 300w\" sizes=\"(max-width: 359px) 100vw, 359px\" \/><\/p>\n<p>\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u306b\u5207\u308a\u66ff\u3048\u308c\u3070\u3001HTML\u30b3\u30fc\u30c9\u3092\u76f4\u63a5\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial05.png\" alt=\"\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\" width=\"60%\" class=\"alignnone size-full wp-image-1483\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial05.png 359w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial05-300x173.png 300w\" sizes=\"(max-width: 359px) 100vw, 359px\" \/><\/p>\n<p>\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u306f\u3001\u6700\u521d\u304b\u3089 <strong>&lt;%subject%&gt;<\/strong> \u3068 <strong>&lt;%body%&gt;<\/strong> \u3068\u3044\u30462\u3064\u306e\u7f6e\u63db\u30bf\u30b0\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5fc5\u305a\u5fc5\u8981\u306a\u30bf\u30b0\u3067\u3001\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u6642\u306b\u5185\u5bb9\u304c\u52d5\u7684\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial06.png\" alt=\"\u30c7\u30b6\u30a4\u30f3\u753b\u9762\u306e\u521d\u671f\u72b6\u614b\" width=\"60%\" class=\"alignnone size-full wp-image-1484\" \/><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<p>\u5b9f\u969b\u306b\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u3053\u3093\u306a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial07.png\" alt=\"\u30b5\u30f3\u30d7\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\" width=\"80%\" class=\"alignnone size-full wp-image-1485\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial07.png 571w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial07-300x251.png 300w\" sizes=\"(max-width: 571px) 100vw, 571px\" \/><\/p>\n<p>\u30e1\u30fc\u30eb\u9001\u4fe1\u30b9\u30af\u30ea\u30d7\u30c8\uff08Python\uff09\u306f\u3053\u308c\u3092\u4f7f\u3044\u307e\u3059\u3002\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u3001\u4ef6\u540d\u306b <a href=\"https:\/\/sendgrid.com\/docs\/API_Reference\/SMTP_API\/index.html\" target=\"_blank\">SMTP API<\/a> \u306e\u30d8\u30c3\u30c0\u60c5\u5831\u306b\u57fa\u3065\u3044\u305f\u9867\u5ba2\u306e\u540d\u524d\u304c\u8a2d\u5b9a\u3055\u308c\u3001\u672c\u6587\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial08.png\" alt=\"\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\" width=\"100%\" class=\"alignnone size-full wp-image-1486\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial08.png 1106w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial08-300x169.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial08-768x432.png 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial08-1024x576.png 1024w\" sizes=\"(max-width: 1106px) 100vw, 1106px\" \/><\/p>\n<p>\u5148\u307b\u3069\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3063\u3066\u3001\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001 <strong>&lt;%subject%&gt;<\/strong> \u306e\u90e8\u5206\u304c\u9867\u5ba2\u540d\u3067\u7f6e\u304d\u63db\u3048\u3089\u308c\u3001<strong>&lt;%body%&gt;<\/strong> \u306e\u90e8\u5206\u304c\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u6307\u5b9a\u3055\u308c\u305f\u5185\u5bb9\u3067\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial09.png\" alt=\"\u9001\u4fe1\u3055\u308c\u305f\u30e1\u30fc\u30eb\u306e\u30b5\u30f3\u30d7\u30eb\" width=\"100%\" class=\"alignnone size-full wp-image-1487\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial09.png 1182w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial09-300x175.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial09-768x447.png 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial09-1024x596.png 1024w\" sizes=\"(max-width: 1182px) 100vw, 1182px\" \/><\/p>\n<p>\u7f6e\u63db\u30bf\u30b0\u306e\u6319\u52d5\u306b\u3064\u3044\u3066\u306f\u3054\u7406\u89e3\u3044\u305f\u3060\u3051\u305f\u3067\u3057\u3087\u3046\u304b\uff1f<br \/>\n\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u306f\u7f6e\u63db\u30bf\u30b0\u304c\u5fc5\u305a\u5fc5\u8981\u3067\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3069\u306e\u3088\u3046\u306b\u30c7\u30fc\u30bf\u3092\u3084\u308a\u53d6\u308a\u3059\u308b\u304b\u3001\u958b\u767a\u30c1\u30fc\u30e0\u3068\u3088\u304f\u8a71\u3057\u5408\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<p>\u6b21\u306b\u3001\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002Plain Text Email \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial10.png\" alt=\"Plain Text Email \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\" width=\"60%\" class=\"alignnone size-full wp-image-1488\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial10.png 362w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial10-300x102.png 300w\" sizes=\"(max-width: 362px) 100vw, 362px\" \/><\/p>\n<p>Template Engine\u3067\u306f\u3001HTML\u30e1\u30fc\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5185\u5bb9\u304b\u3089\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5185\u5bb9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u81ea\u52d5\u751f\u6210\u3059\u308b\u5834\u5408\u306f\u3053\u3053\u3067 Import From HTML \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial11.png\" alt=\"\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb\u306e\u81ea\u52d5\u751f\u6210\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\" width=\"70%\" class=\"alignnone size-full wp-image-1489\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial11.png 426w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial11-300x180.png 300w\" sizes=\"(max-width: 426px) 100vw, 426px\" \/><\/p>\n<p>\u30e1\u30fc\u30eb\u306e\u5230\u9054\u7387\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u3082\u3001HTML\u30e1\u30fc\u30eb\u3068\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb\u3092\u4e21\u65b9\u9001\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3082\u5fc5\u305a\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial12.png\" alt=\"\u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb\u306e\u30b5\u30f3\u30d7\u30eb\" width=\"100%\" class=\"alignnone size-full wp-image-1490\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial12.png 674w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial12-300x203.png 300w\" sizes=\"(max-width: 674px) 100vw, 674px\" \/><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u30d7\u30ec\u30d3\u30e5\u30fc\u6a5f\u80fd<\/strong><\/h4>\n<p>\u5168\u3066\u8a2d\u5b9a\u3057\u305f\u3089\u3001\u30d7\u30ec\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u3068\u30e2\u30d0\u30a4\u30eb\u7528\u306e2\u7a2e\u985e\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial13.png\" alt=\"\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30d7\u30ec\u30d3\u30e5\u30fc\" height=\"270\" class=\"alignnone size-full wp-image-1491\" style=\"margin-right:5px;float:left;\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial13.png 493w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial13-300x240.png 300w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial14.png\" alt=\"\u30e2\u30d0\u30a4\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\" height=\"270\" class=\"alignnone size-full wp-image-1492\" style=\"float:left;\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial14.png 353w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial14-234x300.png 234w\" sizes=\"(max-width: 353px) 100vw, 353px\" \/><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4fdd\u5b58\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u6a5f\u80fd\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u30c6\u30b9\u30c8\u6a5f\u80fd<\/strong><\/h4>\n<p>\u307e\u305a\u306f\u30c6\u30b9\u30c8\u6a5f\u80fd\u3067\u3059\u3002\u53f3\u7aef\u306eTest \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial15.png\" alt=\"Test \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\" width=\"50%\" class=\"alignnone size-full wp-image-1493\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial15.png 329w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial15-288x300.png 288w\" sizes=\"(max-width: 329px) 100vw, 329px\" \/><\/p>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\/\u30e2\u30d0\u30a4\u30eb\u3067\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u3066\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial16.png\" alt=\"Test\u6a5f\u80fd\u7528\u30b5\u30a4\u30c9\u30d0\u30fc\" width=\"80%\" class=\"alignnone size-full wp-image-1494\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial16.png 589w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial16-300x243.png 300w\" sizes=\"(max-width: 589px) 100vw, 589px\" \/><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc<\/strong><\/h4>\n<p>\u6b21\u306b\u3001\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4e2d\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u30e1\u30cb\u30e5\u30fc\u306b\u306f\u3001Make Active\uff08\u6709\u52b9\u5316\uff09\u3001Duplicate\uff08\u8907\u88fd\uff09\u3001Send a Test\uff08\u9001\u4fe1\u30c6\u30b9\u30c8\uff09\u3001Delete\uff08\u524a\u9664\uff09\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial17.png\" alt=\"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\" width=\"50%\" class=\"alignnone size-full wp-image-1495\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial17.png 346w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial17-225x150.png 225w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial17-300x199.png 300w\" sizes=\"(max-width: 346px) 100vw, 346px\" \/><\/p>\n<p>\u5404\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u8907\u6570\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f5c\u6210\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5b9f\u969b\u306b\u30e1\u30fc\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001Make Active \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u305d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6709\u52b9\uff08Active\uff09\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6709\u52b9\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5834\u5408\u3001\u5de6\u4e0a\u306b\u7dd1\u8272\u306eACTIVE\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial18.png\" alt=\"ACTIVE\u8868\u793a\" width=\"80%\" class=\"alignnone size-full wp-image-1496\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial18.png 439w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial18-300x53.png 300w\" sizes=\"(max-width: 439px) 100vw, 439px\" \/><\/p>\n<p>ACTIVE\u30a2\u30a4\u30b3\u30f3\u306e\u5de6\u306b\u3042\u308b\u3001Back\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e00\u89a7\u753b\u9762\u306b\u623b\u308a\u307e\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e00\u89a7\u753b\u9762\u3067\u306f\u3001\u6709\u52b9\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u67a0\u304c\u7dd1\u8272\u306b\u306a\u308a\u3001ACTIVE\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial19.png\" alt=\"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e00\u89a7\u753b\u9762\" width=\"80%\" class=\"alignnone size-full wp-image-1497\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial19.png 631w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial19-300x186.png 300w\" sizes=\"(max-width: 631px) 100vw, 631px\" \/><\/p>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4e0a\u90e8\u306b\u306f\u300cID\u300d\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial20.png\" alt=\"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8ID\u306e\u78ba\u8a8d\" width=\"100%\" class=\"alignnone size-full wp-image-1498\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial20.png 631w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial20-300x74.png 300w\" sizes=\"(max-width: 631px) 100vw, 631px\" \/><\/p>\n<p>ID\u306f\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u91cd\u8981\u306a\u610f\u5473\u3092\u6301\u3064\u3082\u306e\u3067\u3059\u3002API\u304b\u3089\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u969b\u3001\u3069\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u9069\u7528\u3059\u308b\u304b\u3092\u6307\u5b9a\u3059\u308b\u306e\u306b\u3053\u306eID\u3092\u4f7f\u3046\u304b\u3089\u3067\u3059\u3002\u306a\u304a\u3001API\u3084SMTP\u7d4c\u7531\u3067\u30b7\u30b9\u30c6\u30e0\u9023\u643a\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306b\u95a2\u308f\u3089\u305a\u3001\u9001\u4fe1\u3059\u308b\u30e1\u30fc\u30eb\u306e<a href=\"https:\/\/sendgrid.com\/docs\/API_Reference\/Template_Engine_API\/smtpapi.html\" target=\"_blank\">SMTP API\u30d8\u30c3\u30c0\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8ID\u3092\u6307\u5b9a<\/a>\u3057\u3066\u304a\u3051\u3070\u3001\u305d\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u6709\u52b9\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30e1\u30fc\u30eb\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u305d\u306e\u4ed6\u306e\u6a5f\u80fd<\/strong><\/h4>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e00\u89a7\u753b\u9762\u3067\u306f\u3001\u30d3\u30e5\u30fc\u30bf\u30a4\u30d7\u306e\u5909\u66f4\u3084\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4f5c\u6210\u30fb\u7ba1\u7406\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial21.png\" alt=\"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e00\u89a7\u753b\u9762\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\" width=\"60%\" class=\"alignnone size-full wp-image-1499\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial21.png 369w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/07\/TemplateEngineTutorial21-300x185.png 300w\" sizes=\"(max-width: 369px) 100vw, 369px\" \/><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<p>\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u306e\u306f\u3001Template Engine \u306e\u6a5f\u80fd\u306e\u4e00\u90e8\u3067\u3059\u3002\u662f\u975e\u4e00\u5ea6\u3001\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u5b9f\u969b\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f SendGrid\u2019s Template Engine Tutorial \u306e\u6284\u8a33\u3067\u3059\u3002 \u524d\u56de\u3054\u7d39\u4ecb\u3057\u305f\u3088\u3046\u306b\u3001Template Engine\u3092\u4f7f\u3046\u3068\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30c1\u30fc\u30e0\u3068\u958b\u767a\u30c1\u30fc\u30e0\u306e\u9593\u306e\u58c1\u3092\u53d6\u308a\u6255\u3046\u3053\u3068\u304c\u3067\u304d\u307e <a class=\"read-more\" href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=1477\">&#8230;\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":6309,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1477","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1477"}],"version-history":[{"count":1,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1477\/revisions"}],"predecessor-version":[{"id":11098,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1477\/revisions\/11098"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/6309"}],"wp:attachment":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}