virtual const char* GetIncomingServerType() {return "pop3";}
nsMsgLocalMailFolder::GetIncomingServerType() { nsresult rv;  if (mType) return mType;  nsCOMPtr<nsIURL> url;     rv = nsComponentManager::CreateInstance(kStandardUrlCID, nsnull, NS_GET_IID(nsIURL), (void **)getter_AddRefs(url));  if (NS_FAILED(rv)) return "";  rv = url->SetSpec(mURI); if (NS_FAILED(rv)) return "";  nsXPIDLCString userName; rv = url->GetPreHost(getter_Copies(userName)); if (NS_FAILED(rv)) return ""; if ((const char *) userName) nsUnescape(NS_CONST_CAST(char*,(const char*)userName));  nsXPIDLCString hostName; rv = url->GetHost(getter_Copies(hostName)); if (NS_FAILED(rv)) return ""; if ((const char *) hostName) nsUnescape(NS_CONST_CAST(char*,(const char*)hostName));  NS_WITH_SERVICE(nsIMsgAccountManager, accountManager, NS_MSGACCOUNTMANAGER_PROGID, &rv); if (NS_FAILED(rv)) return "";  nsCOMPtr<nsIMsgIncomingServer> server;   rv = accountManager->FindServer(userName, hostName, "none", getter_AddRefs(server)); if (NS_SUCCEEDED(rv) && server) { mType = "none"; return mType; }   rv = accountManager->FindServer(userName, hostName, "pop3", getter_AddRefs(server)); if (NS_SUCCEEDED(rv) && server) { mType = "pop3"; return mType; }  return ""; }
	virtual const char* GetIncomingServerType() {return "pop3";}