use CreateAndSendMessage instance of SendMessage

This commit is contained in:
ducarroz%netscape.com 1999-06-10 01:50:05 +00:00
Родитель 282c365c52
Коммит e05d9e8107
1 изменённых файлов: 7 добавлений и 8 удалений

Просмотреть файл

@ -348,19 +348,18 @@ nsresult nsMsgCompose::SendMessageEx(const PRUnichar *addrTo, const PRUnichar *a
m_compFields->GetBody(&bodyString);
bodyLength = PL_strlen(bodyString);
msgSend->SendMessage(m_compFields,
"", // const char *smtp,
msgSend->CreateAndSendMessage(m_compFields,
PR_FALSE, // PRBool digest_p,
PR_FALSE, // PRBool dont_deliver_p,
nsMsgDeliverNow, // nsMsgDeliverMode mode,
m_composeHTML?TEXT_HTML:TEXT_PLAIN, // const char *attachment1_type,
m_composeHTML?TEXT_HTML:TEXT_PLAIN, // const char *attachment1_type,
bodyString, // const char *attachment1_body,
bodyLength, // PRUint32 attachment1_body_length,
NULL, // const struct nsMsgAttachmentData *attachments,
NULL, // const struct nsMsgAttachedFile *preloaded_attachments,
NULL, // nsMsgSendPart *relatedPart,
NULL); // void (*message_delivery_done_callback)(MWContext *context, void *fe_data,
// int status, const char *error_message))
nsnull, // const struct nsMsgAttachmentData *attachments,
nsnull, // const struct nsMsgAttachedFile *preloaded_attachments,
nsnull, // nsMsgSendPart *relatedPart,
nsnull, // callback function defined in nsMsgComposeBE.h
nsnull); // tagged FE data that will be passed to the FE
}
}
/*TODO