瀏覽代碼

If integration is not supported, throw an exception with a reference

to the INSTALL file.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@88 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 11 年之前
父節點
當前提交
5c09d40683
共有 1 個檔案被更改,包括 8 行新增1 行删除
  1. 8
    1
      SNF_CS_Developer_Package/SNFUtility/SNFServerConfig/SendmailIntegrate.cpp

+ 8
- 1
SNF_CS_Developer_Package/SNFUtility/SNFServerConfig/SendmailIntegrate.cpp 查看文件

@@ -115,7 +115,14 @@ SendmailIntegrate::Integrate(FileBackup *SaveFile) {
if (!IntegrationIsSupported) {
return;
std::ostringstream Temp;
Temp << "Integration with sendmail is not supported on this platform. "
<< "Please see " << DOC_DIR << "/INSTALL for instructions for manual "
<< "integration with sendmail.";
throw std::runtime_error(Temp.str());
}

Loading…
取消
儲存