浏览代码

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());
}

正在加载...
取消
保存