{"id":2493,"date":"2015-11-16T22:27:48","date_gmt":"2015-11-16T13:27:48","guid":{"rendered":"http:\/\/taitan916.info\/blog\/?p=2493"},"modified":"2024-02-25T20:22:53","modified_gmt":"2024-02-25T11:22:53","slug":"post-2493","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/2493","title":{"rendered":"PHP\u3067\u8907\u6570\u306e\u9001\u4fe1\u5148\u306b\u4e00\u62ec\u3067\u30e1\u30fc\u30eb\u3092\u9001\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>PHP\u3067\u8907\u6570\u306e\u9001\u4fe1\u5148\u306b\u4e00\u62ec\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u305f\u304b\u3063\u305f\u3002\u914d\u5217\u3068\u304b\u3067\u6307\u5b9a\u3059\u308b\u306e\u304b\u3068\u601d\u3063\u305f\u3051\u3069\u3001\u30ab\u30f3\u30de\u533a\u5207\u308a\u6307\u5b9a\u307f\u305f\u3044\u3002\u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u306b\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">mb_language('ja');\r\nmb_internal_encoding('UTF-8');\r\n$mail['from'] = 'from@hoge.jp';\r\n$mail['to'] = 'to@aaa.jp,to2@bbb.jp,to3@ccc.jp'; \/\/\u9001\u308a\u5148\u3092\u30ab\u30f3\u30de\u533a\u5207\u308a\u3067\u8907\u6570\u6307\u5b9a\u3067\u304d\u308b\r\n$mail['subject'] = '\u30e1\u30fc\u30eb\u4ef6\u540d';\r\n$mail['body'] = '\u30e1\u30fc\u30eb\u672c\u6587';\r\n\r\nmb_send_mail($mail['to'], $mail['subject'], $mail['body'], \"From: \".$mail['from'].\"\\r\\n\", \"-f\".$mail['from']);<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u305d\u306e\u4ed6<\/h2>\n<p>\u9001\u308a\u5148\u3092\u8907\u6570\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f<strong>CC\u3068\u3057\u3066\u6271\u308f\u308c\u308b<\/strong>\u307f\u305f\u3044\u3002\u306a\u306e\u3067\u9867\u5ba2\u5b9b\u306e\u4e00\u62ec\u9001\u4fe1\u3068\u304b\u306f\u5371\u967a\u3002<\/p>\n<p>\u793e\u5185\u5b9b\u306e\u30b7\u30b9\u30c6\u30e0\u30e1\u30fc\u30eb\u7b49\u3001\u30e1\u30a2\u30c9\u304c\u4ed6\u306b\u3070\u308c\u3066\u3082\u5927\u4e08\u592b\u306a\u30b1\u30fc\u30b9\u306e\u307f\u4f7f\u3046\u3002\u9867\u5ba2\u5b9b\u306e\u5834\u5408\u306f\u4e00\u3064\u305a\u3064\u9001\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3067\u8907\u6570\u306e\u9001\u4fe1\u5148\u306b\u4e00\u62ec\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u305f\u304b\u3063\u305f\u3002\u914d\u5217\u3068\u304b\u3067\u6307\u5b9a\u3059\u308b\u306e\u304b\u3068\u601d\u3063 ... <\/p>\n","protected":false},"author":1,"featured_media":1085,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2493","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=2493"}],"version-history":[{"count":2,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2493\/revisions"}],"predecessor-version":[{"id":5111,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2493\/revisions\/5111"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/1085"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=2493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=2493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=2493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}