From: art lussos Date: 2011-08-17T07:25:27+09:00 Subject: [ruby-core:38997] [Ruby 1.9 - Feature #5198][Open] IMAP -- would like fucntions that return the default ports Issue #5198 has been reported by art lussos. ---------------------------------------- Feature #5198: IMAP -- would like fucntions that return the default ports http://redmine.ruby-lang.org/issues/5198 Author: art lussos Status: Open Priority: Normal Assignee: Category: Target version: 1.9.2 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 -- http://redmine.ruby-lang.org