m_smtpService->SendMailMessage(filePath, recipients, this, nsnull, &url);
m_smtpService->SendMailMessage(aIFileSpec, recipients, this, nsnull, &url);
nsresult nsSmtpTestDriver::OnSendMessageInFile(){	nsresult rv = NS_OK; 	char * fileName = nsnull;	char * userName = nsnull;	//char * userPassword = nsnull;	char * displayString = nsnull;	char * recipients = nsnull;		PL_strcpy(m_userData, DEFAULT_FILE);	displayString = PR_smprintf("Location of message [%s]: ", m_userData);	rv = PromptForUserDataAndBuildUrl(displayString);	PR_FREEIF(displayString);	fileName = PL_strdup(m_userData);	// now ask the user who to send the message too...	PL_strcpy(m_userData, DEFAULT_RECIPIENT);	displayString = PR_smprintf("Recipient of message [%s]: ", m_userData);	rv = PromptForUserDataAndBuildUrl(displayString);	PR_FREEIF(displayString);	recipients = PL_strdup(m_userData);	// SMTP is a connectionless protocol...so we always start with a new	// SMTP protocol instance every time we launch a mailto url...	nsFilePath filePath (fileName);	nsIURI * url = nsnull;	m_smtpService->SendMailMessage(filePath, recipients, this, nsnull, &url);	if (url)		m_smtpUrl = do_QueryInterface(url);	NS_IF_RELEASE(url);	PR_FREEIF(fileName);	PR_FREEIF(userName);	PR_FREEIF(recipients);	return rv;}