diff options
Diffstat (limited to 'camel/providers/pop3/camel-pop3-store.c')
-rw-r--r-- | camel/providers/pop3/camel-pop3-store.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c index 5fa80b1d87..b58504dcae 100644 --- a/camel/providers/pop3/camel-pop3-store.c +++ b/camel/providers/pop3/camel-pop3-store.c @@ -459,7 +459,15 @@ pop3_connect (CamelService *service, CamelException *ex) service->url->port = KPOP_PORT; } #endif - + + if (!g_strcasecmp (service->url->protocol, "pops")) { + CamelRemoteStore *rstore = CAMEL_REMOTE_STORE (service); + + /* FIXME: what should this port be?? */ + rstore->default_port = 993; + rstore->use_ssl = TRUE; + } + res = CAMEL_SERVICE_CLASS (parent_class)->connect (service, ex); #ifdef HAVE_KRB4 |