Simple Mail を参考に. responseのチェックもしてないし, error処理も書いてないけど要はこの流れでできるということで. 使うときには, error処理とかも書かないと. 命令先は, Gmailのsmtpサーバーで. socketつないで, inputStreamを読みながら, outputstreamに命令を書き出してけばいける. まんまterminalと同じ感じ? /* * SMTP Send Mail Sample */ var Cc = Components.classes; var Ci = Components.interfaces; var SocketService = Cc["@mozilla.org/network/socket-transport-service;1"].getService(Ci.nsISocketTransportServic
Opera for Android, Opera for iOS Starting on March 6, nearly 400M Europeans will get to choose their default browser on... March 6th, 2024 We're excited for March 6th, when hundreds of millions of Android and iOS users around the EU will have the... Gaming, Opera GX Pimp your smartphone with GX Mods, now available in Opera GX on Android and iOS February 8th, 2024 Transform the look and feel of you
GMailでは,新着メールをatomフィードで出力してくれますよね.それを,Rubyで読み込んでみようじゃないかと言うのがこの企画. # test_atom.rb require 'net/https' require 'rexml/document' account = 'your_account' pass = 'password' # 一応,SSL接続 https = Net::HTTP.new('mail.google.com', 443) https.use_ssl = true # VERIFY MODEをVERIFY_NONEにしないとだめ. # この辺はGMailでSMTP接続するときと同じですね. https.verify_mode = OpenSSL::SSL::VERIFY_NONE # 接続 https.start req = Net::HTTP::Get.new(
1. Introduction Gmail is a very popular e-mail server nowadays. People like being able to access their e-mail, organized just like they want, from anywhere they might be. Before gmail there wasn't many good interfaces for that, but google showed that it's possible to have a reasonable e-mail reader running on top of a browser. Unfortunately, when you're at your home computer, you are able to have
CUIの魅力にはAjaxも全くかなわない。Webインタフェースがどれだけ使い勝手よくなっても、やはりCUIのコマンドベースの、文字ベースの操作の手軽さにはかなわない。ユーザビリティ、表現力は劣るだろうが、決して廃れないのがCUIだ。 もしあなたがサーバ管理者で、GMailを見たいと思ったらどうするだろうか。わざわざPCを持ってきてFirefoxを立ち上げる?いやいや、CUIでいこう。 今回紹介するオープンソース・ソフトウェアはGmailreader、CUIベースのGMailリーダーだ。 GmailreaderはCUIで動作するGMailリーダーだ。起動して、ユーザID(@gmail.comは抜きで入れる)とパスワードを入力する。ここは設定ファイルに保存しておくこともできる。するとログイン処理が実行され、最近のメールが一覧表示される。 後はメール番号を指定して内容を見ることができる。さらにド
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く