printf("\nMessage Sent: FAILED!\n");
PRINTF("\nMessage Sent: FAILED!\n");
nsresult nsSmtpTestDriver::OnStopRunningUrl(nsIURI * aUrl, nsresult aExitCode){	NS_PRECONDITION(aUrl, "just a sanity check since this is a test program");	//nsresult rv = NS_OK;	m_runningURL = PR_FALSE;	if (aUrl)	{		// query it for a mailnews interface for now....		nsCOMPtr<nsIMsgMailNewsUrl> mailUrl = do_QueryInterface(aUrl);		if (mailUrl)			mailUrl->UnRegisterListener(this);	}	///////////////////////////////////////////////////////////////////////////////////////////	// the following strings are used by QA as part of the smoketest. DO NOT REMOVE THEM!!!!!!!	///////////////////////////////////////////////////////////////////////////////////////////	if (NS_SUCCEEDED(aExitCode))		printf("\nMessage Sent: PASSED\n");	else		printf("\nMessage Sent: FAILED!\n");	return NS_OK;}