get_default_port
Description:
Returns the default network port number for this and the security method method
, as defined in
/etc/services.
For example, the default port for unencrypted IMAP or encrypted IMAP using STARTTLS is 143, but the default port for IMAP over SSL is 993.
Parameters:
this | |
method |
Returns:
the default port number for this and |