NS_RELEASE(ptr);
NewsDeliveryCallback(nsIURL *aUrl, nsresult aExitCode, void *tagData){  if (tagData)  {    nsMsgComposeAndSend *ptr = (nsMsgComposeAndSend *) tagData;    ptr->DeliverAsNewsExit(aUrl, aExitCode);  }  return aExitCode;}