{"author_url":"https://blog.hatena.ne.jp/i2bskn/","version":"1.0","image_url":null,"provider_name":"Hatena Blog","published":"2023-03-16 20:22:30","height":"190","blog_title":"i2bskn blog","blog_url":"https://i2bskn.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fi2bskn.com%2Fentry%2Fsend_grid_golang\" title=\"SendGrid(Web API v3)\u3067\u30e1\u30fc\u30eb\u914d\u4fe1(Golang) - i2bskn blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Go","Snippet","SendGrid"],"type":"rich","author_name":"i2bskn","url":"https://i2bskn.com/entry/send_grid_golang","provider_url":"https://hatena.blog","width":"100%","title":"SendGrid(Web API v3)\u3067\u30e1\u30fc\u30eb\u914d\u4fe1(Golang)","description":"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 SendGrid\u3067\u3088\u304f\u5229\u7528\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb/HTML\u30e1\u30fc\u30eb/\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5229\u7528\u3057\u305f\u30e1\u30fc\u30eb\u914d\u4fe1\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002 \u30c6\u30ad\u30b9\u30c8\u30e1\u30fc\u30eb/HTML\u30e1\u30fc\u30eb\u3092\u5206\u3051\u3066\u3044\u307e\u3059\u304c\u3001\u4e21\u65b9mail.SGMailV3.AddContent\u3059\u308b\u4e8b\u3067\u30de\u30eb\u30c1\u30d1\u30fc\u30c8\u30e1\u30fc\u30eb\u306b\u3059\u308b\u4e8b\u3082\u53ef\u80fd\u3067\u3059\u3002 \u203b \u5b9f\u884c\u3059\u308b\u306b\u306f\u74b0\u5883\u5909\u6570(SENDGRID_API_KEY\u3001SENDGRID_TEMPLATE_ID)\u304c\u5fc5\u8981\u3067\u3059\u3002 package main import ( \"log\" \"os\" \"github.com/sendgrid/sendgrid-go\" \"github.com/sendgrid/sendgrid-go/h\u2026"}