{"id":2978,"date":"2015-06-04T10:28:50","date_gmt":"2015-06-04T01:28:50","guid":{"rendered":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/?p=2978"},"modified":"2015-06-04T11:19:02","modified_gmt":"2015-06-04T02:19:02","slug":"gmail%e3%82%92%e3%82%ac%e3%83%a9%e3%82%b1%e3%83%bc%e3%81%a7%e9%96%b2%e8%a6%a7%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/2015\/06\/04\/2978\/","title":{"rendered":"Gmail\u3092\u30ac\u30e9\u30b1\u30fc\u3067\u95b2\u89a7\u3067\u304d\u306a\u3044"},"content":{"rendered":"<p>Gmail\u3092\u30ac\u30e9\u30b1\u30fc\u3067\u95b2\u89a7\u3067\u304d\u306a\u3044\uff08\u2190WordPress\u304c\u4e0d\u8abf\u306a\u306e\u304b\u30bf\u30a4\u30c8\u30eb\u90e8\u306b\u8a18\u5165\u3057\u3066\u3082\u7a7a\u6b04\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u2026\uff09<\/p>\n<p>au\u30ac\u30e9\u30b1\u30fc\u3067\u3082Gmail\u3092\u95b2\u89a7\u3057\u3066\u304d\u305f\u304c\u3001\u3053\u306e\u3068\u3053\u308dEZweb\u304c\u300c\uff08Gmail\u5074\u306e\uff09\u8a3c\u660e\u66f8\u306e\u30a8\u30e9\u30fc\u300d\u3068\u8a00\u3063\u3066\u304d\u3066\u63a5\u7d9a\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002PC\u30d6\u30e9\u30a6\u30b6\u3067\u306e\u95b2\u89a7\u306f\u53ef\u80fd\u3060\u304c\u3001\u9762\u5012\u3060\u3057\u3001\u53cd\u5fdc\u9045\u3044\u3057\u3001\u901a\u4fe1\u8cbb\u304c\u304b\u304b\u308b\u3057\u2026\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u81ea\u524d\u30b5\u30fc\u30d0\u304b\u3089Gmail\u3092\u95b2\u89a7\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3001\u305d\u3061\u3089\u3078\u30ac\u30e9\u30b1\u30fc\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089\u3069\u3046\u304b\u3068\u8003\u3048\u3066\u3044\u308b\u304c\u3001Gmail\u3078\u306fPOP3\u3088\u308a\u3082IMAP\u63a5\u7d9a\u3059\u308b\u306e\u304c\u3088\u3055\u305d\u3046\u3067\u3001\u8a00\u8a9e\u306fRuby\u304bPHP\u3067\u3068\u3002PHP\u3067\u306e\u60c5\u5831\u3092\u63a2\u3057\u3066\u3044\u308b\u3068SquirrelMail\u3068\u3044\u3046\u306e\u304c\u3042\u308b\u3068\u306e\u3053\u3068\u3067\u3001\u3053\u3061\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066Gmail\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3059\u3050\u306bPC\u4e0a\u304b\u3089\u306e\u95b2\u89a7\u306f\u3067\u304d\u305f\uff08\u5c11\u3057\u8868\u793a\u66f4\u65b0\u306f\u9045\u3044\u304c\uff09\u306e\u3060\u304c\u3001\u305d\u3053\u3078EZweb\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u307e\u3067\u306f\u51fa\u3066\u304f\u308b\u3082\u306e\u306e\u3001ID\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u30a8\u30f3\u30c8\u30ea\u306f\u8868\u793a\u3055\u308c\u306a\u304b\u3063\u305f\uff08\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306e\u30ea\u30b9\u753b\u50cf\u306e\u30b5\u30a4\u30ba\u304c\u3067\u304b\u904e\u304e\u3066\u8868\u793a\u4e2d\u6b62\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3082\uff1f\uff1f\uff09\u3002<\/p>\n<p>SquirrelMail\u306e\u52d5\u4f5c\u304c\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u3089\u3001\u3053\u306e\u3042\u305f\u308a\u3092\u8abf\u6574\u3057\u3066\u30ac\u30e9\u30b1\u30fc\u5bfe\u5fdc\u3082\u53ef\u80fd\u305d\u3046\u3060\u304c\u305d\u3053\u307e\u3067\u306e\u81ea\u7531\u5ea6\u306f\u306a\u3055\u305d\u3046\u306a\u611f\u3058\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u4f5c\u6210\u53ef\u80fd\u306e\u3088\u3046\u306a\u306e\u3060\u304c\u3001\u305d\u3061\u3089\u306b\u624b\u3092\u4ed8\u3051\u308b\u3068\u3059\u308b\u3068\u81ea\u524d\u3067\u6700\u4f4e\u9650\u306eIMAP\u30a2\u30af\u30bb\u30b9\u7528\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7d44\u3093\u3060\u307b\u3046\u304c\u65e9\u3044\u304b\u306a\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/squirrelmail.org\/index.php\">SquirrelMail &#8211; Webmail for Nuts!<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/squirrelmail.org\/docs\/admin\/admin-7.html#ss7.1\">Customizing SquirrelMail &#8211; SquirrelMail &#8211; Webmail for Nuts!<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/washitake.com\/mail\/squirrelmail\/\">Squirrelmail\u306e\u643a\u5e2f\u5bfe\u5fdc<br \/>\n<\/a><\/p>\n<ul>\n<li>\u4eca\u306f\u3061\u3087\u3063\u3068\u9055\u3046\u65b9\u5411\u6027\u3067\u958b\u767a\u3092\u8003\u3048\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u53e4\u304f\u3001\u30c7\u30e2\u30b5\u30a4\u30c8\u3082\u52d5\u304d\u307e\u305b\u3093\u3002\n <\/ul>\n<li><a href=\"http:\/\/linux.kororo.jp\/cont\/server\/squirrelmail.php\">Squirrel Mail \u306b\u3088\u308bWeb\u30e1\u30fc\u30eb<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/www.atmarkit.co.jp\/bbs\/phpBB\/viewtopic.php?topic=27917&#038;forum=10\">SquirrelMail\u306eMobile\u30ed\u30b0\u30a4\u30f3\u753b\u9762 \uff0d Linux Square \uff0d \uff20IT<br \/>\n<\/a>\n<\/ul>\n<p>WebMailClient2 for Keitai\u3068\u3044\u3046\u3082\u306e\u3082\u3042\u308b\u3088\u3046\u3060\u304c\u3001\u958b\u767a\u306f\u7d42\u4e86\uff1f\uff08\u5143\u306e\u914d\u5e03\u30b5\u30a4\u30c8\u306f\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3082\u3088\u3046\uff09<\/p>\n<ul>\n<li><a href=\"http:\/\/www.vector.co.jp\/soft\/unix\/net\/se422048.html\">WebMailClient2 for Keitai\u306e\u8a73\u7d30\u60c5\u5831 : Vector \u30bd\u30d5\u30c8\u3092\u63a2\u3059\uff01<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/www.yumemaboroshi.net\/user371\/\">LunarNight Laboratory (\u591c\u6708 http:\/\/www.ln-lab.net\/) \u7121\u6599\u30d5\u30ea\u30fcCGI\/PHP\u3092\u63a2\u3059\u306a\u3089 \u5922\u5e7b<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/www.junyx.net\/consulting\/2007\/159\">\u30b1\u30fc\u30bf\u30a4\u3067PC\u30e1\u30fc\u30eb\u3092\u30c1\u30a7\u30c3\u30af\u266a | WordPress\u306a\u65e5\u3005<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/www.freeml.com\/xoops-users\/68591\/latest\">WebMail2\u3067Gmail\u3092\u53d7\u4fe1\u3057\u305f\u3044\uff5cfreeml byGMO<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/www.freeml.com\/xoops-users\/68958\">Re: WebMail2\u3067Gmail\u3092\u53d7\u4fe1\u3057\u305f\u3044\uff5cfreeml byGMO<br \/>\n<\/a><\/p>\n<ul>\n<li>\u3044\u3044\u8fd4\u4e8b\u304c\u306a\u3044\u306e\u3067\u8ae6\u3081\u308b\u4e8b\u306b\u3057\u307e\u3059\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002\n <\/ul>\n<li><a href=\"http:\/\/fedorasrv.com\/wm_keitai.shtml\">\u643a\u5e2f\u7528Webmail\u30b7\u30b9\u30c6\u30e0\u69cb\u7bc9(WebMailClient2 for Keitai) &#8211; Fedora\u3067\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/kuro.crow2.net\/tools\/wmc2k.htm\">WebMailClient2 for keitai &#8211; \u7d14\u6b63\u7384\u7bb1\u9bd6\u5316\u8a08\u753b\uff20\u307e\u3068\u3081<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/selinux.seesaa.net\/article\/113190848.html\">\u7d20\u4eba\u306b\u3088\u308bLinux\u30e1\u30e2: Webmail for \u643a\u5e2f<br \/>\n<\/a>\n<\/ul>\n<p>\u305d\u306e\u4ed6<\/p>\n<ul>\n<li><a href=\"http:\/\/blog.asial.co.jp\/387\">PHP\u30d5\u30a1\u30a4\u30eb\u3072\u3068\u3064\u3067\u4f5c\u308b\u7c21\u5358IMAP\u30e1\u30fc\u30e9\u30fc : \u30a2\u30b7\u30a2\u30eb\u30d6\u30ed\u30b0<br \/>\n<\/a><\/p>\n<ul>\n<li>IMAP\u7528\u3067\u3001\u6700\u65b0\u306e\u30e1\u30fc\u30eb\u4e00\u89a7\u3068\u672c\u6587\u306e\u95b2\u89a7\u306e\u307f\u3067\u3001\u8fd4\u4fe1\u7b49\u306e\u64cd\u4f5c\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n <\/ul>\n<li><a href=\"http:\/\/d.hatena.ne.jp\/oniloq\/20121129\/1354122428\">imap\u95a2\u6570\u3092\u4f7f\u3063\u3066Gmail\u306e\u30e1\u30fc\u30eb\u3092\u53d6\u5f97\u3059\u308b &#8211; ONILOQ NOTE<br \/>\n<\/a><\/p>\n<li><a href=\"https:\/\/roundcube.net\/\">Roundcube &#8211; Free and Open Source Webmail Software<br \/>\n<\/a><\/p>\n<ul>\n<li><a href=\"http:\/\/www.lancard.com\/roundcube\/faq\">\u3088\u304f\u3042\u308b\u3054\u8cea\u554f\uff5c\u9ad8\u6a5f\u80fdWeb\u30e1\u30fc\u30eb Roundcube\uff5c\u30e9\u30f3\u30ab\u30fc\u30c9\u30b3\u30e0\uff08LANCARD.COM inc.\uff09<br \/>\n<\/a><\/p>\n<ul>\n<li>Q. \u643a\u5e2f\u96fb\u8a71(\u30d5\u30e5\u30fc\u30c1\u30e3\u30fc\u30d5\u30a9\u30f3)\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u304b\uff1f\n<li>A. \u307b\u3068\u3093\u3069\u306e\u5834\u5408\u305d\u306e\u307e\u307e\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\n  <\/ul>\n<li><a href=\"http:\/\/www.lancard.com\/blog\/2013\/01\/09\/roundcube%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%EF%BC%86%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%81%9F\/\">Roundcube\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3057\u305f \u00ab LANCARD.LAB\uff5c\u30e9\u30f3\u30ab\u30fc\u30c9\u30b3\u30e0\u306e\u30b9\u30bf\u30c3\u30d5\u30d6\u30ed\u30b0<br \/>\n<\/a><\/p>\n<li><a href=\"http:\/\/start.pooq.biz\/tips\/roundcube-with-google-apps\">roundcube with google apps. &#8211; POOQ.BIZ Start.your actions.<br \/>\n<\/a>\n <\/ul>\n<li><a href=\"http:\/\/www.aichi-c.ed.jp\/contents\/network\/webmail\/index.htm\">WebMail\u306e\u69cb\u7bc9\u3068\u6d3b\u7528\u6cd5<br \/>\n<\/a>\n<\/ul>\n<p>PHP\u3067\u306eGmail\u3078\u306eIMAP\u30a2\u30af\u30bb\u30b9\u30b5\u30f3\u30d7\u30eb\uff08\u5358\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u6700\u65b010\u4ef6\u306e\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u3060\u3051\u300210\u4ef6\u30672\uff5e3\u79d2\u304b\u304b\u308b\uff09<\/p>\n<div class=\"hl-surround\" style=\"height:280px;\"><div class=\"hl-main\"><pre>&lt;?php\r\n\/\/ gmail-test.php\r\n\r\nrequire_once &quot;Pit.php&quot;;\r\nrequire_once &quot;Net\/IMAP.php&quot;;\r\n\r\n$pit = new Pit();\r\n$info = $pit-&gt;get(&quot;script-gmail&quot;);\r\n\r\n$server = &quot;imap.gmail.com&quot;;\r\n$port = 993;\r\n$account = $info['id'];\r\n$password = $info['pass'];\r\n\r\n\/\/$mbox = imap_open(&quot;{&quot;.$server.&quot;:&quot;.$port.&quot;\/novalidate-cert\/imap\/ssl}INOX&quot;, $account, $password);\r\n\r\n$host_info = &quot;{&quot;.$server.&quot;:&quot;.$port.&quot;\/imap\/ssl}INBOX&quot;;\r\nprint $host_info.&quot;\\n&quot;;\r\n$mbox = imap_open($host_info, $account, $password);\r\n\/\/$folders = imap_listmailbox($mbox, $host_info, &quot;*&quot;);\r\n$obj = imap_check($mbox);\r\n$num = $obj-&gt;Nmsgs;\r\nprint $num.&quot;\\n&quot;;\r\n$start = time();\r\nfor ($i=0; $i&lt;10; $i++) {\r\n  $n = $num-$i;\r\n  $header = imap_header($mbox, $n);\r\n  $subject = mb_decode_mimeheader($header-&gt;subject);\r\n  $from = mb_decode_mimeheader($header-&gt;fromaddress);\r\n  print &quot;[$n] &quot;;\r\n  print &quot;Subject: &quot;.$subject.&quot;\\n&quot;;\r\n  \/\/print &quot;From: $from\\n---\\n&quot;;\r\n}\r\n$end = time();\r\nprint $end-$start.&quot; sec\\n&quot;;<\/pre><\/div><\/div>\n<div class=\"hl-surround\" ><div class=\"hl-main\"><pre>% php gmail-test.php\r\n{imap.gmail.com:993\/imap\/ssl}INBOX\r\n28848\r\n[28848] Subject: ....\r\n[28847] Subject: ....\r\n[28846] Subject: ....\r\n[28845] Subject: ....\r\n[28844] Subject: ....\r\n[28843] Subject: ....\r\n[28842] Subject: ....\r\n[28841] Subject: ....\r\n[28840] Subject: ....\r\n[28839] Subject: ....\r\n2 sec<\/pre><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Gmail\u3092\u30ac\u30e9\u30b1\u30fc\u3067\u95b2\u89a7\u3067\u304d\u306a\u3044\uff08\u2190WordPress\u304c\u4e0d\u8abf\u306a\u306e\u304b\u30bf\u30a4\u30c8\u30eb\u90e8\u306b\u8a18\u5165\u3057\u3066\u3082\u7a7a\u6b04\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u2026\uff09 au\u30ac\u30e9\u30b1\u30fc\u3067\u3082Gmail\u3092\u95b2\u89a7\u3057\u3066\u304d\u305f\u304c\u3001\u3053\u306e\u3068\u3053\u308dEZweb\u304c\u300c\uff08Gmail\u5074\u306e\uff09\u8a3c\u660e\u66f8\u306e\u30a8\u30e9\u30fc\u300d\u3068\u8a00 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[342,261,60,370,369],"_links":{"self":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/2978"}],"collection":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/comments?post=2978"}],"version-history":[{"count":7,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/2978\/revisions"}],"predecessor-version":[{"id":2988,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/2978\/revisions\/2988"}],"wp:attachment":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/media?parent=2978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/categories?post=2978"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/tags?post=2978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}