const nsFilePath * fileName = nsnull; smtpUrl->GetPostMessageFile(&fileName);
nsresult NS_MsgLoadMailtoUrl(nsIURI * aUrl, nsISupports * aConsumer){	// mscott: this function is pretty clumsy right now...eventually all of the dispatching	// and transport creation code will live in netlib..this whole function is just a hack	// for our mail news demo....	// for now, assume the url is a news url and load it....	nsCOMPtr <nsISmtpUrl> smtpUrl;	nsSmtpProtocol	*smtpProtocol = nsnull;	nsresult rv = NS_OK;	if (!aUrl)		return rv;    // turn the url into an smtp url...	smtpUrl = do_QueryInterface(aUrl);    if (smtpUrl)    {		const nsFilePath * fileName = nsnull;		smtpUrl->GetPostMessageFile(&fileName);		// almost there...now create a nntp protocol instance to run the url in...		smtpProtocol = new nsSmtpProtocol(aUrl);		if (smtpProtocol == nsnull)			rv = NS_ERROR_OUT_OF_MEMORY;		else			smtpProtocol->LoadUrl(aUrl); // protocol will get destroyed when url is completed...	}	return rv;}