always want the dummy envelope header when save message to the disk

This commit is contained in:
jefft%netscape.com 1999-09-08 20:34:12 +00:00
parent 7fe06bccb8
commit 811626ef2f

View File

@ -262,7 +262,11 @@ nsresult nsMailboxProtocol::LoadUrl(nsIURI * aURL, nsISupports * aConsumer)
// create a temp file to write the message into. We need to do this because
// we don't have pluggable converters yet. We want to let mkfile do the work of
// converting the message from RFC-822 to HTML before displaying it...
ClearFlag(MAILBOX_MSG_PARSE_FIRST_LINE);
if (m_mailboxAction ==
nsIMailboxUrl::ActionSaveMessageToDisk)
SetFlag(MAILBOX_MSG_PARSE_FIRST_LINE);
else
ClearFlag(MAILBOX_MSG_PARSE_FIRST_LINE);
m_tempMessageFile->OpenStreamForWriting();
m_nextState = MAILBOX_READ_MESSAGE;
break;