incomingServer->GetUserName(&value);
incomingServer->GetUsername(&value);
nsresult nsPop3TestDriver::OnIdentityCheck(){	nsresult result = NS_OK;	NS_WITH_SERVICE(nsIMsgMailSession, mailSession, kCMsgMailSessionCID, &result); 	if (NS_SUCCEEDED(result) && mailSession)	{		// mscott: we really don't check an identity, we check		// for an outgoing 		nsIMsgIncomingServer * incomingServer = nsnull;		result = mailSession->GetCurrentServer(&incomingServer);		if (NS_SUCCEEDED(result) && incomingServer)		{			char * value = nsnull;			incomingServer->GetPrettyName(&value);			printf("Server pretty name: %s\n", value ? value : "");			incomingServer->GetUserName(&value);			printf("User Name: %s\n", value ? value : "");			incomingServer->GetHostName(&value);			printf("Pop Server: %s\n", value ? value : "");			incomingServer->GetPassword(&value);			printf("Pop Password: %s\n", value ? value : "");			NS_RELEASE(incomingServer);		}		else			printf("Unable to retrieve the outgoing server interface....\n");	}	else		printf("Unable to retrieve the mail session service....\n");	return result;}