From: Shugo Maeda Date: 2011-08-18T15:17:29+09:00 Subject: [ruby-core:39012] [Ruby 1.9 - Feature #5198] IMAP -- would like fucntions that return the default ports Issue #5198 has been updated by Shugo Maeda. Assignee set to Shugo Maeda ---------------------------------------- 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: Shugo Maeda 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