NS_IMETHODIMP nsSmtpServer::GetSocketType(int32_t *socketType) { NS_ENSURE_ARG_POINTER(socketType); getIntPrefWithDefault("try_ssl", socketType, 0); return NS_OK; }
NS_IMETHODIMP nsSmtpServer::GetAuthMethod(int32_t *authMethod) { NS_ENSURE_ARG_POINTER(authMethod); getIntPrefWithDefault("authMethod", authMethod, 3); return NS_OK; }
NS_IMETHODIMP nsSmtpServer::GetTrySSL(PRInt32 *trySSL) { NS_ENSURE_ARG_POINTER(trySSL); getIntPrefWithDefault("try_ssl", trySSL, 0); return NS_OK; }