method

login

v1_8_6_287 - Show latest stable - Class: Net::IMAP
login(user, password)
public

Sends a LOGIN command to identify the client and carries the plaintext password authenticating this user. Note that, unlike calling #authenticate() with an auth_type of "LOGIN", #login() does not use the login authenticator.

A Net::IMAP::NoResponseError is raised if authentication fails.