nsFileSpec fileSpec("c:\\temp\\tempMessage.eml");
nsComposeAppCore::HackToGetBody(PRInt32 what){    char *buffer = (char *) PR_CALLOC(1024);    if (buffer)    {        nsFileSpec fileSpec("c:\\temp\\tempMessage.eml");        nsInputFileStream fileStream(fileSpec);        nsString msgBody = what == 2 ? "--------Original Message--------\r\n"             : "";         while (!fileStream.eof() && !fileStream.failed() &&               fileStream.is_open())        {            fileStream.readline(buffer, 1024);            if (*buffer == 0)                break;        }        while (!fileStream.eof() && !fileStream.failed() &&               fileStream.is_open())        {            fileStream.readline(buffer, 1024);            if (what == 1)                msgBody += "> ";            msgBody += buffer;        }		// mMsgCompFields->SetBody(msgBody.ToNewCString(), NULL);		// SetBody() strdup()'s cmsgBody.		mMsgCompFields->SetBody(nsAutoCString(msgBody), NULL);        PR_Free(buffer);    }}