NS_IMETHODIMP nsMsgComposeSendListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t aStateFlags, nsresult aStatus) { if (bCanceled) { progress->OnStatusChange(nullptr, nullptr, NS_OK, msg.get()); //正在取消… } msgSend->Abort(); } nsresult nsMsgComposeSendListener::OnStopSending(const char *aMsgID, nsresult aStatus, const PRUnichar *aMsg, nsIFile *returnFile) { } nsresult nsMsgCompose::_SendMsg(MSG_DeliverMode deliverMode, nsIMsgIdentity *identity, const char *accountKey, bool entityConversionDone) { if (mProgress) { nsCOMPtr<nsIWebProgressListener> progressListener = do_QueryInterface(composeSendListener); mProgress->RegisterListener(progressListener); } } nsMsgProgress.cpp NS_IMETHODIMP nsMsgProgress::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, uint32_t aStateFlags, nsresult aStatus) { } NS_IMETHODIMP nsMsgProgress::SetProcessCanceledByUser(bool aProcessCanceledByUser) { } /* void RegisterListener (in nsIWebProgressListener listener); */ NS_IMETHODIMP nsMsgProgress::RegisterListener(nsIWebProgressListener * listener) { } 请确认您的邮件帐户设置是否正确,然后重试 \mailnews\compose\src\nsMsgSendReport.cpp if( currError != 2147500036 ) //手动取消附件附加的情况判断,这里不再提示 账号设置相关 nsMsgDisplayMessageByString(prompt, currMessage.get(), dialogTitle.get()); |
static nsExtraMimeTypeEntry extraMimeEntries [] = 437 { 438 #if defined(VMS) 439 { APPLICATION_OCTET_STREAM, "exe,com,bin,sav,bck,pcsi,dcx_axpexe,dcx_vaxexe,sfx_axpexe,sfx_vaxexe", "Binary File" }, 440 #elif defined(XP_MACOSX) // don't define .bin on the mac...use internet config to look that up... 441 { APPLICATION_OCTET_STREAM, "exe,com", "Binary File" }, 442 #else 443 { APPLICATION_OCTET_STREAM, "exe,com,bin", "Binary File" }, |
sendProgress.xul sendProgress.js 正在附加 [附件名] Attaching %s... 正在传递邮件… 发送邮件失败 SetStatusMessage(nsDependentString(printfString)); 4652 nsMsgComposeAndSend::MimeDoFCC(nsIFile 正在复制邮件到 草稿箱 邮件夹… 保存邮件到 草稿箱 时出错 复制失败。 --点 取消 邮件正在发送中,您确定要取消发送该邮件 ---确认过程去掉,在确认的过程中邮件还在发送,直接不用确认,就停止发送 "C:\Documents and Settings\hecj\Local Settings\Temp\" *.eml |
|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )
GMT+8, 2024-11-26 13:55 , Processed in 0.063082 second(s), 23 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.