Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > net/imapライブラリ > Net::IMAPクラス > login
login(user, password)
Sends a LOGIN command to identify the client and carries the plaintext password authenticating this user.