mime_write_message_body(nsMsgComposeAndSend *state, char *buf, PRInt32 size)
mime_write_message_body(nsIMsgSend *state, char *buf, PRInt32 size)
mime_write_message_body(nsMsgComposeAndSend *state, char *buf, PRInt32 size){  if (PRInt32(state->mOutputFile->write(buf, size)) < size)   {    return NS_MSG_ERROR_WRITING_FILE;  }   else   {    return 0;  }}