if (tailURI.Find(kMailboxRootURI) == 0) tailURI.Cut(0, PL_strlen(kMailboxRootURI));
uri.Append(keyStr);
nsresult nsBuildLocalMessageURI(const char *baseURI, PRUint32 key, char** uri){		if(!uri)		return NS_ERROR_NULL_POINTER;	// need to convert mailbox://hostname/.. to mailbox_message://hostname/..	nsCAutoString tailURI(baseURI);	// chop off mailbox:/	if (tailURI.Find(kMailboxRootURI) == 0)		tailURI.Cut(0, PL_strlen(kMailboxRootURI));	*uri = PR_smprintf("%s%s#%u", kMailboxMessageRootURI, tailURI.GetBuffer(), key);	return NS_OK;}