Feature #5198
closed
IMAP -- would like fucntions that return the default ports
Added by art.lussos (art lussos) about 13 years ago.
Updated almost 13 years ago.
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
- Assignee set to shugo (Shugo Maeda)
- 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]
Also available in: Atom
PDF
Like0
Like0Like0