Feature #5198

IMAP -- would like fucntions that return the default ports

Added by art lussos almost 4 years ago. Updated over 3 years ago.

[ruby-core:38997]
Status:Closed
Priority:Normal
Assignee:Shugo Maeda

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

Associated revisions

Revision 33182
Added by Shugo Maeda over 3 years ago

  • 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. [Bug #5198]

Revision 33182
Added by Shugo Maeda over 3 years ago

  • 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. [Bug #5198]

History

#1 Updated by Shugo Maeda almost 4 years ago

  • Assignee set to Shugo Maeda

#2 Updated by Shugo Maeda over 3 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. [Bug #5198]

Also available in: Atom PDF