Class: Net::APOP
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
POP3,
Protocol
|
|
|
Instance Chain:
self,
POP3,
Protocol
|
|
| Inherits: |
Net::POP3
|
| Defined in: | lib/net/pop.rb |
Overview
This class is equivalent to POP3, except that it uses APOP authentication.
Constant Summary
Class Attribute Summary
POP3 - Inherited
| .use_ssl? | returns |
Class Method Summary
POP3 - Inherited
| .APOP | Returns the |
| .auth_only | Opens a |
| .certs | returns the |
| .create_ssl_params | Constructs proper parameters from arguments. |
| .default_pop3_port | The default port for |
| .default_pop3s_port | The default port for POP3S connections, port 995. |
| .default_port | returns the port for |
| .delete_all | Starts a |
| .disable_ssl | Disable SSL for all new instances. |
| .enable_ssl | Enable SSL for all new instances. |
| .foreach | |
| .new | Creates a new |
| .ssl_params | returns the SSL Parameters. |
| .start | Creates a new |
| .verify | returns whether verify_mode is enable from POP3.ssl_params |
| .socket_type | obsolete. |
Instance Attribute Summary
-
#apop? ⇒ Boolean
readonly
Always returns true.
POP3 - Inherited
| #address | The address to connect to. |
| #apop? | Does this instance use |
| #open_timeout | Seconds to wait until a connection is opened. |
| #read_timeout | Seconds to wait until reading one block (by one read(1) call). |
| #read_timeout= | Set the read timeout. |
| #started? |
|
| #use_ssl? | does this instance use SSL? |
| #active? | Alias for POP3#started?. |
Instance Method Summary
POP3 - Inherited
| #auth_only | Starts a pop3 session, attempts authentication, and quits. |
| #delete_all | Deletes all messages on the server. |
| #disable_ssl | Disable SSL for all new instances. |
| #each | Alias for POP3#each_mail. |
| #each_mail | Yields each message to the passed-in block in turn. |
| #enable_ssl | Enables SSL for this instance. |
| #finish | Finishes a |
| #inspect | Provide human-readable stringification of class state. |
| #logging | debugging output for |
| #mails | Returns an array of |
| #n_bytes | Returns the total size in bytes of all the messages on the POP server. |
| #n_mails | Returns the number of messages on the POP server. |
| #port | The port number to connect to. |
| #reset | Resets the session. |
| #set_debug_output | WARNING: This method causes a serious security hole. |
| #start | Starts a |
| #set_all_uids | internal use only (called from POPMail#uidl). |
| #command | Returns the current command. |
| #do_finish | nil’s out the: - mails - number counter for mails - number counter for bytes - quits the current command, if any. |
| #do_start | internal method for POP3.start |
| #on_connect | Does nothing. |
Constructor Details
This class inherits a constructor from Net::POP3
Instance Attribute Details
#apop? ⇒ Boolean (readonly)
Always returns true.
# File 'lib/net/pop.rb', line 728
def apop? true end