зеркало из https://github.com/mozilla/pjs.git
use CreateAndSendMessage instance of SendMessage
This commit is contained in:
Родитель
282c365c52
Коммит
e05d9e8107
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче