rv = srcFolder->DeleteMessages(messageArray, nsnull, PR_TRUE, PR_TRUE);
rv = srcFolder->DeleteMessages(messageArray, nsnull, PR_TRUE, PR_TRUE, nsnull);
static nsresult DeleteMessage(nsIURI *aURL, nsIMsgFolder *srcFolder){	nsCOMPtr<nsIMsgDBHdr> message;	nsresult rv;	rv = GetMessage(aURL, getter_AddRefs(message));	if(NS_SUCCEEDED(rv) && srcFolder)	{		nsCOMPtr<nsISupportsArray> messageArray;		NS_NewISupportsArray(getter_AddRefs(messageArray));		nsCOMPtr<nsISupports> messageSupports(do_QueryInterface(message));		if(messageSupports)			messageArray->AppendElement(messageSupports);		rv = srcFolder->DeleteMessages(messageArray, nsnull, PR_TRUE, PR_TRUE);	}	return rv;}