{"id":12474,"date":"2020-04-10T11:47:28","date_gmt":"2020-04-10T02:47:28","guid":{"rendered":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=12474"},"modified":"2020-04-10T11:47:28","modified_gmt":"2020-04-10T02:47:28","slug":"php%e3%81%8b%e3%82%89sendgrid%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%88%e3%83%a9%e3%83%b3%e3%82%b6%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%83%a1%e3%83%bc%e3%83%ab%e3%82%92%e9%80%81%e4%bf%a1%e3%81%99","status":"publish","type":"post","link":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=12474","title":{"rendered":"PHP\u304b\u3089SendGrid\u3092\u4f7f\u3063\u3066\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/axg4gbFqn8X2EbyHFhQVV6Usx-6HIIT_QlH3Ae5WB5gL11.width-808.png\" alt=\"PHP\u304b\u3089SendGrid\u3092\u4f7f\u3063\u3066\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\" width=\"100%\" class=\"aligncenter size-full wp-image-12475\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/axg4gbFqn8X2EbyHFhQVV6Usx-6HIIT_QlH3Ae5WB5gL11.width-808.png 808w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/axg4gbFqn8X2EbyHFhQVV6Usx-6HIIT_QlH3Ae5WB5gL11.width-808-300x150.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/axg4gbFqn8X2EbyHFhQVV6Usx-6HIIT_QlH3Ae5WB5gL11.width-808-768x384.png 768w\" sizes=\"(max-width: 808px) 100vw, 808px\" \/><\/p>\n<blockquote>\n<p>\u3053\u306e\u8a18\u4e8b\u306f <a href=\"https:\/\/www.twilio.com\/blog\/send-transactional-emails-php-twilio-sendgrid\" target=\"_blank\">Send Transactional Emails in PHP with Twilio SendGrid<\/a> \u306e\u6284\u8a33\u3067\u3059\u3002<\/p>\n<\/blockquote>\n<p>\u53d7\u4fe1\u30c8\u30ec\u30a4\u306f\u305f\u304f\u3055\u3093\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3067\u6ea2\u308c\u3066\u3044\u307e\u3059\u3002\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u304c\u3042\u308b\u306e\u3067<a href=\"https:\/\/whatis.techtarget.com\/definition\/inbox-zero\" rel=\"noopener\" target=\"_blank\">\u53d7\u4fe1\u30c8\u30ec\u30a4\u306f\u7a7a<\/a>\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u304c\u3001\u305d\u308c\u306e\u304a\u304b\u3052\u3067\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u60c5\u5831\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.com\/docs\/for-developers\/sending-email\/getting-started-with-transactional-emails\/\" rel=\"noopener\" target=\"_blank\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb<\/a>\u3068\u306f\u3001\u7279\u5b9a\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u3068\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u304b\u3089\u9001\u4fe1\u3055\u308c\u308b\u30e1\u30fc\u30eb\u306e\u3053\u3068\u3067\u3059\u3002\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30a2\u306e\u5834\u5408\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3092\u5b8c\u4e86\u3057\u305f\u6642\u3084\u3001\u8cfc\u5165\u3092\u5b8c\u4e86\u3057\u305f\u6642\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>PHP\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u306e\u306f\u3068\u3066\u3082\u7c21\u5358\u3067\u3059\u3002\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u4efb\u610f\u306e\u90e8\u5206\u3067 <a href=\"https:\/\/www.php.net\/manual\/en\/function.mail.php\" rel=\"noopener\" target=\"_blank\">mail()<\/a> \u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3060\u3051\u3067\u3001 \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u5f62\u5f0f\u306e\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u305d\u306e\u30b7\u30f3\u30d7\u30eb\u3055\u304c\u4ec7\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002PHP\u306e\u958b\u767a\u8005\u306b\u3068\u3063\u3066mail\uff08\uff09\u95a2\u6570\u306f\u3001\u7c21\u5358\u306b\u30e1\u30fc\u30eb\u914d\u4fe1\u6a5f\u80fd\u3092\u5b9f\u88c5\u3067\u304d\u3066\u4fbf\u5229\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u5927\u91cf\u9001\u4fe1\u3084SPAM\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u901a\u904e\u3059\u308b\u3088\u3046\u306b\u914d\u4fe1\u3059\u308b\u306b\u306f\u96e3\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001Twilio SendGrid\u306a\u3069\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3092\u914d\u4fe1\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u304c\u5b58\u5728\u3059\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001Twilio SendGrid\u3092\u4f7f\u7528\u3057\u3066PHP\u3067\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5fc5\u8981\u306a\u30c4\u30fc\u30eb<\/h3>\n<p>\u3054\u7d39\u4ecb\u3059\u308b\u65b9\u6cd5\u306f1\u3064\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3067\u69cb\u7bc9\u53ef\u80fd\u306a\u305f\u3081\u3001\u5fc5\u8981\u306a\u524d\u63d0\u6761\u4ef6\u306f\u3042\u307e\u308a\u591a\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u6b21\u306e\u3082\u306e\u3092\u7528\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<table border>\n<tr>\n<td>\n\u30fb<a href=\"https:\/\/sendgrid.kke.co.jp\/app?p=signup.index\" rel=\"noopener\" target=\"_blank\">Twilio SendGrid\u306e\u30a2\u30ab\u30a6\u30f3\u30c8<\/a><br \/>\n\u30fb<a href=\"https:\/\/getcomposer.org\/\" rel=\"noopener\" target=\"_blank\">Composer<\/a>\u304c\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fPHP\u306e\u958b\u767a\u74b0\u5883\n<\/td>\n<\/tr>\n<\/table>\n<h3>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u3068\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u753b\u9762\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u3068\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ mkdir php-sendgrid &amp;&amp; cd php-sendgrid\r\n$ touch email.php\r\n<\/pre>\n<h3>Composer\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b<\/h3>\n<p>Composer\u306f\u3001PHP\u3067\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3067\u3059\u3002Composer\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7c21\u5358\u306b\u5ba3\u8a00\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u30b3\u30f3\u30bd\u30fc\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u65b0\u3057\u3044<span style=\"background-color:#d3d3d3\">composer.json<\/span>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ touch composer.json\r\n<\/pre>\n<p><span style=\"background-color:#d3d3d3\">open composer.json<\/span>\u3092\u5b9f\u884c\u3057\u3066IDE\u3067\u65b0\u898f\u4f5c\u6210\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u5ba3\u8a00\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n   &quot;require&quot;: {}\r\n}\r\n<\/pre>\n<p><span style=\"background-color:#d3d3d3\">composer install<\/span>\u3092\u5b9f\u884c\u3057\u3066vender\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3>Dotenv\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p>\u6b21\u306b\u3001Twillio SendGrid\u306eAPI\u30ad\u30fc\u3092\u30bb\u30ad\u30e5\u30a2\u306b\u4fdd\u7ba1\u3059\u308b\u305f\u3081\u306e\u6e96\u5099\u3092\u3057\u307e\u3059\u3002<a href=\"http:\/\/www.vancelucas.com\/\" rel=\"noopener\" target=\"_blank\">Vance Lucas<\/a>\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b<a href=\"https:\/\/github.com\/vlucas\/phpdotenv\" rel=\"noopener\" target=\"_blank\">phpdotenv package<\/a>\u3092\u4f7f\u3046\u3068\u3001\u74b0\u5883\u5909\u6570\u3092<span style=\"background-color:#d3d3d3\">.env<\/span>\u30d5\u30a1\u30a4\u30eb\u304b\u3089<span style=\"background-color:#d3d3d3\">getenv\uff08\uff09<\/span>\u3001<span style=\"background-color:#d3d3d3\">$ _ ENV<\/span>\u3001\u304a\u3088\u3073<span style=\"background-color:#d3d3d3\">$ _SERVER<\/span>\u3067\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ composer require vlucas\/phpdotenv &amp;&amp; touch .env\r\n<\/pre>\n<p>\u4ee5\u4e0b\u306e\u5909\u6570\u3092.env\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u8a18\u3057\u3066\u3001API\u30ad\u30fc\u3092\u683c\u7d0d\u3059\u308b\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nSENDGRID_API_KEY=&quot;&quot;\r\n<\/pre>\n<h3>Twilio SendGrid\u306b\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u3057\u3066API\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u524d\u8ff0\u306e\u3088\u3046\u306b\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u306b\u306fTwilio SendGrid\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<a href=\"https:\/\/sendgrid.kke.co.jp\/\" rel=\"noopener\" target=\"_blank\">SendGrid<\/a>\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001API\u30ad\u30fc\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306b<a href=\"https:\/\/app.sendgrid.com\/settings\/api_keys\" rel=\"noopener\" target=\"_blank\">\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059<\/a>\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/oXt-ApUutRQnqpl0IBl8ynn3Ib3WBxRoRx5xsA3Q6EvWUZ.width-800.png\" alt=\"Create API Key\" width=\"100%\" class=\"aligncenter size-full wp-image-12476\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/oXt-ApUutRQnqpl0IBl8ynn3Ib3WBxRoRx5xsA3Q6EvWUZ.width-800.png 800w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/oXt-ApUutRQnqpl0IBl8ynn3Ib3WBxRoRx5xsA3Q6EvWUZ.width-800-300x209.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/oXt-ApUutRQnqpl0IBl8ynn3Ib3WBxRoRx5xsA3Q6EvWUZ.width-800-768x535.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u300cAPI Key Name\u300d\u306b\u201dPHP Emails\u201d\u306e\u3088\u3046\u306b\u540d\u524d\u3092\u5165\u529b\u3057\u3001\u300cAPI Key Permissions\u300d\u3067\u306f\u201dFull Access\u201d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u201cCreate &#038; View\u201d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u4f5c\u6210\u3057\u305fAPI\u30ad\u30fc\u3092<span style=\"background-color:#d3d3d3\">.env<\/span>\u30d5\u30a1\u30a4\u30eb\u306e<span style=\"background-color:#d3d3d3\">SENDGRID_API_KEY<\/span>\u5909\u6570\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<aside><strong>\u6ce8: <\/strong>API\u30ad\u30fc\u4f5c\u6210\u5f8c\u306e\u30da\u30fc\u30b8\u3092\u4e00\u5ea6\u96e2\u308c\u308b\u3068\u3001\u518d\u8868\u793a\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5b89\u5168\u306a\u30da\u30fc\u30b8\u306b\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/aside>\n<h3>Twilio SendGrid PHP SDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p>\u751f\u6210\u3057\u305fAPI\u30ad\u30fc\u3092\u4f7f\u3063\u3066SendGrid API\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001SendGrid PHP SDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ composer require sendgrid\/sendgrid\r\n<\/pre>\n<h3>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u3053\u308c\u3067\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u9001\u4fe1\u3092\u884c\u3046\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u74b0\u5883\u304c\u6574\u3044\u307e\u3057\u305f\u3002 \u6b21\u306e\u30b3\u30fc\u30c9\u3092<span style=\"background-color:#d3d3d3\">email.php<\/span>\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php\r\nrequire 'vendor\/autoload.php';\r\n\/\/ Load our `.env` variables\r\n$dotenv = Dotenv\\Dotenv::create(__DIR__);\r\n$dotenv-&gt;load();\r\n\/\/ Declare a new SendGrid Mail object\r\n$email = new \\SendGrid\\Mail\\Mail();\r\n\/\/ Set the email parameters\r\n$email-&gt;setFrom(&quot;mbattle@twilio.com&quot;, &quot;Marcus Battle&quot;);\r\n$email-&gt;setSubject(&quot;Sending with SendGrid is Fun&quot;);\r\n$email-&gt;addTo(&quot;marcus@marcusbattle.com&quot;, &quot;Marcus Battle&quot;);\r\n$email-&gt;addContent(&quot;text\/plain&quot;, &quot;and easy to do anywhere, even with PHP&quot;);\r\n$email-&gt;addContent(&quot;text\/html&quot;, &quot;and easy to do anywhere, even with PHP&quot;);\r\n$sendgrid = new \\SendGrid(getenv('SENDGRID_API_KEY'));\r\n\/\/ Send the email\r\ntry {\r\n   $response = $sendgrid-&gt;send($email);\r\n   print $response-&gt;statusCode() . &quot;\\n&quot;;\r\n   print_r($response-&gt;headers());\r\n   print $response-&gt;body() . &quot;\\n&quot;;\r\n   echo &quot;email sent!\\n&quot;;\r\n} catch (Exception $e) {\r\n   echo 'Caught exception: '. $e-&gt;getMessage() .&quot;\\n&quot;;\r\n}\r\n<\/pre>\n<h3>\u30c6\u30b9\u30c8\u3059\u308b<\/h3>\n<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u30a6\u30a4\u30f3\u30c9\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059: <span style=\"background-color:#d3d3d3\">php email.php<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/Oj3pxpZ8_8bc_6kOT1Lr-U1Z96XKz30GcTOHZ0DeLnOXqg.width-800.png\" alt=\"\u30c6\u30b9\u30c8\u3059\u308b\" width=\"100%\" class=\"aligncenter size-full wp-image-12477\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/Oj3pxpZ8_8bc_6kOT1Lr-U1Z96XKz30GcTOHZ0DeLnOXqg.width-800.png 800w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/Oj3pxpZ8_8bc_6kOT1Lr-U1Z96XKz30GcTOHZ0DeLnOXqg.width-800-300x249.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/04\/Oj3pxpZ8_8bc_6kOT1Lr-U1Z96XKz30GcTOHZ0DeLnOXqg.width-800-768x637.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<aside><strong>\u6ce8\uff1a<\/strong>\u30c9\u30e1\u30a4\u30f3\u306e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u306f\u3001\u30e1\u30fc\u30eb\u304cGoogle\u306eDMARC\u30dd\u30ea\u30b7\u30fc\u306b\u3088\u3063\u3066\u30d6\u30ed\u30c3\u30af\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 \u30e1\u30fc\u30eb\u304c\u6b63\u5e38\u306b\u9001\u4fe1\u3055\u308c\u305f\u306b\u3082\u95a2\u308f\u3089\u305a\u3001\u30d6\u30ed\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u5b9b\u5148\u304c\u63b2\u8f09\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u30e1\u30fc\u30eb\u306eFrom\u30a2\u30c9\u30ec\u30b9\u3092Google\u304c\u53d7\u3051\u5165\u308c\u53ef\u80fd\u306a\u30c9\u30e1\u30a4\u30f3\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/aside>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>30\u884c\u306b\u3082\u6e80\u305f\u306a\u3044\u30b3\u30fc\u30c9\u3067\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3092\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u306ePHP\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u9001\u4fe1\u3067\u304d\u308b\u306a\u3093\u3066\u9a5a\u304f\u3079\u304d\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u30ed\u30b8\u30c3\u30af\u3092\u65e2\u5b58\u306ePHP\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u7d44\u307f\u8fbc\u3093\u3067\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u305c\u3072\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f Send Transactional Emails in PHP with Twilio SendGrid \u306e\u6284\u8a33\u3067\u3059\u3002 \u53d7\u4fe1\u30c8\u30ec\u30a4\u306f\u305f\u304f\u3055\u3093\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u3067\u6ea2\u308c\u3066\u3044\u307e\u3059\u3002\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30e1\u30fc\u30eb\u304c\u3042 <a class=\"read-more\" href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=12474\">&#8230;\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":12475,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-12474","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\/12474","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=12474"}],"version-history":[{"count":5,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12474\/revisions"}],"predecessor-version":[{"id":12482,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12474\/revisions\/12482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/12475"}],"wp:attachment":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}