Project

General

Profile

Actions

Feature #5198

closed

IMAP -- would like fucntions that return the default ports

Added by art.lussos (art lussos) about 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
[ruby-core:38997]

Description

POP and SMTP have functions like this and it would be nice to have them in IMAP as well.

The default port for IMAP connections, port 143

def self.default_imap_port
PORT
end

The default port for POP3S connections, port 993

def self.default_imap_ssl_port
SSL_PORT
end

Updated by shugo (Shugo Maeda) about 13 years ago

  • Assignee set to shugo (Shugo Maeda)
Actions #2

Updated by shugo (Shugo Maeda) about 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r33182.
art , thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/net/imap.rb (default_port, default_imap_port,
    default_tls_port, default_ssl_port, default_imaps_port):
    added methods for consistency with Net::POP.
    based on the patch by art lussos. [ruby-core:38997] [Bug #5198]
Actions

Also available in: Atom PDF

Like0
Like0Like0