{"id":492,"date":"2012-08-28T23:58:08","date_gmt":"2012-08-28T14:58:08","guid":{"rendered":"http:\/\/www.tokyostyling.com\/pc\/?p=492"},"modified":"2012-08-28T23:58:08","modified_gmt":"2012-08-28T14:58:08","slug":"%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88j%e3%80%80%e5%a7%8b%e5%8b%95","status":"publish","type":"post","link":"http:\/\/www.tokyostyling.com\/pc\/archives\/492","title":{"rendered":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8J \u59cb\u52d5"},"content":{"rendered":"<p><a href=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_.png\" rel=\"lightbox[492]\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"493\" data-permalink=\"http:\/\/www.tokyostyling.com\/pc\/archives\/492\/www-tokyostyling-com-mail-php\" data-orig-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_.png\" data-orig-size=\"605,640\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"www.tokyostyling.com-mail.php\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_-283x300.png\" data-large-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_.png\" class=\"alignnone size-medium wp-image-493\" title=\"www.tokyostyling.com-mail.php\" src=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_-283x300.png\" alt=\"\" width=\"283\" height=\"300\" srcset=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_-283x300.png 283w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_.png 605w\" sizes=\"auto, (max-width: 283px) 100vw, 283px\" \/><\/a><\/p>\n<p>\u3061\u3087\u3063\u3068\u3001\u601d\u3046\u3068\u3053\u308d\u304c\u3042\u3063\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u59cb<br \/>\n\u4e45\u3005\u306eWEB\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059<\/p>\n<p>\u307e\u305a\u306f\u3001PHP\u3067\u30e1\u30fc\u30eb\u53d7\u4fe1\u3059\u308b\u3068\u3053\u308d\u304b\u3089<\/p>\n<p>qdmail_receiver.php\u3068\u3044\u3046\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3042\u308a\u3001\u7c21\u5358\u306b\u53d7\u4fe1\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u4f5c\u6210\u53ef\u80fd<\/p>\n<p><a href=\"http:\/\/hal456.net\/qdmail_rec\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" align=\"left\" border=\"0\" src=\"http:\/\/capture.heartrails.com\/150x130\/shadow?http:\/\/hal456.net\/qdmail_rec\/\" alt=\"\" width=\"150\" height=\"130\" \/><\/a><a style=\"color:#0070C5;\" href=\"http:\/\/hal456.net\/qdmail_rec\/\" target=\"_blank\">QdmailReceiver\u3068\u306f &#8211; QdmailReceiver Multibyte mail decoder &#038; POP Client<\/a><a href=\"http:\/\/b.hatena.ne.jp\/entry\/http:\/\/hal456.net\/qdmail_rec\/\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/http:\/\/hal456.net\/qdmail_rec\/\" alt=\"\" \/><\/a><br style=\"clear:both;\" \/><\/p>\n<p>\u53c2\u8003\u306b\u3057\u3066\u3001\u307e\u305a\u306f\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=utf-8&quot; \/&gt;&lt;meta http-equiv=&quot;Content-Language&quot; content=&quot;ja&quot;&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;?php\r\ninclude 'qdmail_receiver.php';\r\n$server = array(\r\n   'protocol'=&gt;'pop3',\r\n   'host'=&gt;'\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0',\r\n   'user'=&gt;'\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9',\r\n   'pass'=&gt;'\u30e1\u30fc\u30eb\u30d1\u30b9\u30ef\u30fc\u30c9',\r\n);\r\n$recv = QdmailReceiver::start('pop', $server, 'utf-8');\r\nmb_language(&quot;ja&quot;);\r\nmb_internal_encoding(&quot;utf-8&quot;);\r\n\/\/mb_internal_encoding(&quot;SJIS&quot;);\r\n\r\n $max=$recv-&gt;count();\r\n for($i=0;$i&lt;$max;$i++){\r\n \t $tmp = &quot;\u3010&quot;.$recv-&gt;header(array('subject','name'),'none').&quot;\u3011&quot;;\r\n\t $tmp .= &quot;&lt;br&gt;\\n&quot;;\r\n\t $tmp1 = mb_convert_encoding($recv-&gt;bodyAutoSelect(),&quot;utf-8&quot;,&quot;auto&quot;);\r\n\t $tmp1 = preg_replace(&quot;\/Powered.*\\n.*\\n.*\\n.*\/&quot;,&quot;&quot;,$tmp1);\r\n\t $tmp1 = preg_replace(&quot;\/\\&#x5B;\u30e1\u30eb\u30e2PR\\].*\\n.*\\n.*\\n.*\/&quot;,&quot;&quot;,$tmp1);\r\n\t $tmp1 = preg_replace(&quot;\/^&#x5B;\\r|\\n]\/m&quot;,&quot;&quot;,$tmp1);\r\n\t $tmp .= nl2br($tmp1).&quot;&lt;br&gt;\\n&lt;br&gt;\\n&quot;;\r\n\t \/\/fputs($fp,$tmp);\r\n\t echo $tmp;\r\n\t $recv-&gt;next();\r\n }\r\n?&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>php\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3001\u7c21\u5358\u306a\u53d7\u4fe1\u8868\u793a\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b8c\u6210<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3061\u3087\u3063\u3068\u3001\u601d\u3046\u3068\u3053\u308d\u304c\u3042\u3063\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u59cb \u4e45\u3005\u306eWEB\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059 \u307e\u305a\u306f\u3001PHP\u3067\u30e1\u30fc\u30eb\u53d7\u4fe1\u3059\u308b\u3068\u3053\u308d\u304b\u3089 qdmail_receiver.php\u3068\u3044\u3046\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3042\u308a\u3001\u7c21\u5358\u306b\u53d7\u4fe1\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u4f5c\u6210\u53ef\u80fd Q [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":493,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-492","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-j"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2012\/08\/www.tokyostyling.com-mail.php_.png","jetpack_shortlink":"https:\/\/wp.me\/p1TwBu-7W","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts\/492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/comments?post=492"}],"version-history":[{"count":1,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts\/492\/revisions"}],"predecessor-version":[{"id":494,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts\/492\/revisions\/494"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/media\/493"}],"wp:attachment":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/media?parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/categories?post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/tags?post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}